plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 0debe1c68113127acdbc3865254bd4abb2121f40
parent 742988d7d82a75ba352e3d8b2ff20965c95dbf85
Author: wkj <devnull@localhost>
Date:   Wed, 29 Dec 2004 01:29:42 +0000

Use FreeBSD-approved method for determining FreeBSD version.

Diffstat:
Msrc/libthread/threadimpl.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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*);