aboutsummaryrefslogtreecommitdiff
path: root/include/u.h
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-05-01 18:40:01 +0000
committerrsc <devnull@localhost>2005-05-01 18:40:01 +0000
commit52e6164443782187e17e22f7ccddd0d9a25006e4 (patch)
tree20706d2a7ded04fd76ec0207736d1051a1dd393e /include/u.h
parentcea10000c59882b43525e4fd4fb17a55b7dba1c1 (diff)
downloadplan9port-52e6164443782187e17e22f7ccddd0d9a25006e4.tar.gz
plan9port-52e6164443782187e17e22f7ccddd0d9a25006e4.tar.bz2
plan9port-52e6164443782187e17e22f7ccddd0d9a25006e4.zip
OpenBSD support.
Diffstat (limited to 'include/u.h')
-rw-r--r--include/u.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/u.h b/include/u.h
index 84cd78d0..ccadff00 100644
--- a/include/u.h
+++ b/include/u.h
@@ -81,7 +81,10 @@ typedef long p9jmp_buf[sizeof(sigjmp_buf)/sizeof(long)];
# undef _NEEDUSHORT
# undef _NEEDUINT
# undef _NEEDULONG
-# undef PLAN9PORT_USING_PTHREADS
+#elif defined(__OpenBSD__)
+# undef _NEEDUSHORT
+# undef _NEEDUINT
+# undef _NEEDULONG
#else
/* No idea what system this is -- try some defaults */
# include <pthread.h>