diff options
author | wkj <devnull@localhost> | 2004-12-29 01:29:42 +0000 |
---|---|---|
committer | wkj <devnull@localhost> | 2004-12-29 01:29:42 +0000 |
commit | 0debe1c68113127acdbc3865254bd4abb2121f40 (patch) | |
tree | 7b3aa8b8716c920d65b5d3f52dfae18156e9b395 /src | |
parent | 742988d7d82a75ba352e3d8b2ff20965c95dbf85 (diff) | |
download | plan9port-0debe1c68113127acdbc3865254bd4abb2121f40.tar.gz plan9port-0debe1c68113127acdbc3865254bd4abb2121f40.tar.bz2 plan9port-0debe1c68113127acdbc3865254bd4abb2121f40.zip |
Use FreeBSD-approved method for determining FreeBSD version.
Diffstat (limited to 'src')
-rw-r--r-- | src/libthread/threadimpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libthread/threadimpl.h b/src/libthread/threadimpl.h index 5cdba60c..ee26ea6b 100644 --- a/src/libthread/threadimpl.h +++ b/src/libthread/threadimpl.h @@ -9,7 +9,7 @@ #include "libc.h" #include "thread.h" -#if defined(__FreeBSD__) && !defined(__FreeBSD5__) +#if defined(__FreeBSD__) && __FreeBSD_version < 500000 extern int getcontext(ucontext_t*); extern void setcontext(ucontext_t*); extern int swapcontext(ucontext_t*, ucontext_t*); |