Mercurial > hg > Members > anatofuz > CbC_xv6
diff src/context.h @ 47:233a68a261fe
ifdef cbcxv6
author | mir3636 |
---|---|
date | Thu, 07 Mar 2019 19:42:27 +0900 |
parents | 087d7b61c86b |
children | fadfd62d6b14 |
line wrap: on
line diff
--- a/src/context.h Sun Mar 03 17:39:45 2019 +0900 +++ b/src/context.h Thu Mar 07 19:42:27 2019 +0900 @@ -1,8 +1,12 @@ /* Context definition for llrb example */ #ifndef CONTEXT_H #define CONTEXT_H +#ifdef CBCXV6 + +#else #include <stdlib.h> #include <pthread.h> +#endif #ifdef USE_CUDAWorker #include <cuda.h> #include <driver_types.h>