diff options
author | rsc <devnull@localhost> | 2004-09-21 01:11:28 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-09-21 01:11:28 +0000 |
commit | c6687d4591964cb13df87f55ec4770e778a4a55c (patch) | |
tree | ee669a419904e929ae8ae54fd04c2bb41b5a57b1 /include/u.h | |
parent | 3d5e34e146b5ba5c973230abb624ce9126024569 (diff) | |
download | plan9port-c6687d4591964cb13df87f55ec4770e778a4a55c.tar.gz plan9port-c6687d4591964cb13df87f55ec4770e778a4a55c.tar.bz2 plan9port-c6687d4591964cb13df87f55ec4770e778a4a55c.zip |
Continue the pthreads torture.
Diffstat (limited to 'include/u.h')
-rw-r--r-- | include/u.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/u.h b/include/u.h index 8e79ba6e..c1ca0336 100644 --- a/include/u.h +++ b/include/u.h @@ -24,7 +24,6 @@ extern "C" { #include <fmt.h> #include <math.h> #include <ctype.h> /* for tolower */ -#include <pthread.h> /* for Locks */ /* * OS-specific crap @@ -42,8 +41,10 @@ typedef long p9jmp_buf[sizeof(sigjmp_buf)/sizeof(long)]; # undef _NEEDUSHORT # undef _NEEDUINT # undef _NEEDULONG -# include <pthread.h> -# define PLAN9_PTHREADS +# endif +# if defined(__Linux26__) +# include <pthread.h> +# define PLAN9_PTHREADS 1 # endif #endif #if defined(__sun__) |