aboutsummaryrefslogtreecommitdiff
path: root/src/libthread
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-11-01 18:35:25 +0000
committerrsc <devnull@localhost>2005-11-01 18:35:25 +0000
commit48ca8d21f75b734a15091b77abf5ed4a92be90f2 (patch)
tree64865d407f62b12262fe7d2db9ae255e8567c749 /src/libthread
parent5ed63a9b4e4e552b3c0c27d34f3f1707e2f569ea (diff)
downloadplan9port-48ca8d21f75b734a15091b77abf5ed4a92be90f2.tar.gz
plan9port-48ca8d21f75b734a15091b77abf5ed4a92be90f2.tar.bz2
plan9port-48ca8d21f75b734a15091b77abf5ed4a92be90f2.zip
FreeBSD changed!
Diffstat (limited to 'src/libthread')
-rw-r--r--src/libthread/threadimpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h
index a46019bc..09276bb3 100644
--- a/src/libthread/threadimpl.h
+++ b/src/libthread/threadimpl.h
@@ -12,7 +12,7 @@
#include "libc.h"
#include "thread.h"
-#if defined(__FreeBSD__) && __FreeBSD_version < 500000
+#if defined(__FreeBSD__) && __FreeBSD__ < 5
extern int getcontext(ucontext_t*);
extern void setcontext(ucontext_t*);
extern int swapcontext(ucontext_t*, ucontext_t*);