diff options
author | rsc <devnull@localhost> | 2005-07-21 18:59:12 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-07-21 18:59:12 +0000 |
commit | 04084d4e1d1b81f913c1e0c5b6655d6e84c29bae (patch) | |
tree | 118d0ee62241331aa08d4edbb6a0823115f66104 /include | |
parent | 0f196d0380f910d68717590f866f64475719c9be (diff) | |
download | plan9port-04084d4e1d1b81f913c1e0c5b6655d6e84c29bae.tar.gz plan9port-04084d4e1d1b81f913c1e0c5b6655d6e84c29bae.tar.bz2 plan9port-04084d4e1d1b81f913c1e0c5b6655d6e84c29bae.zip |
openbsd
Diffstat (limited to 'include')
-rw-r--r-- | include/libc.h | 2 | ||||
-rw-r--r-- | include/u.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/libc.h b/include/libc.h index 3880f3d4..5c2e7bf1 100644 --- a/include/libc.h +++ b/include/libc.h @@ -832,7 +832,7 @@ extern int post9pservice(int, char*); # endif #endif -#if defined(__OpenBSD__) && !defined(NOPLAN9DEFINES) +#if defined(__OpenBSD__) #define sched_yield() \ do { \ struct timespec ts; \ diff --git a/include/u.h b/include/u.h index 0a696ceb..c5f5dcd0 100644 --- a/include/u.h +++ b/include/u.h @@ -95,11 +95,9 @@ typedef long p9jmp_buf[sizeof(sigjmp_buf)/sizeof(long)]; # undef _NEEDULONG #elif defined(__OpenBSD__) # include <sys/types.h> -# include <pthread.h> # undef _NEEDUSHORT # undef _NEEDUINT # undef _NEEDULONG -# define PLAN9PORT_USING_PTHREADS 1 #else /* No idea what system this is -- try some defaults */ # include <pthread.h> |