diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-06-14 15:33:33 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-06-14 15:33:33 +0200 |
commit | a4dcd74ac0716348ff9ea8529c28cf5bef474bc6 (patch) | |
tree | eec5ebfe13ea83d9cf715b79822f6ea2b31e6ba8 /src/port/sys_internal.h | |
parent | 8927c2d531a8c86be027c7514b2fcbc3100dacfa (diff) | |
download | wolfbones-a4dcd74ac0716348ff9ea8529c28cf5bef474bc6.tar.gz wolfbones-a4dcd74ac0716348ff9ea8529c28cf5bef474bc6.tar.bz2 |
fixed for NetBSD 5.0
Diffstat (limited to 'src/port/sys_internal.h')
-rw-r--r-- | src/port/sys_internal.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/port/sys_internal.h b/src/port/sys_internal.h index 4858c63..0bab5fb 100644 --- a/src/port/sys_internal.h +++ b/src/port/sys_internal.h @@ -75,16 +75,25 @@ #endif /* defined OPENBSD */ #if defined NETBSD -#if OS_MAJOR_VERSION == 4 +#if OS_MAJOR_VERSION == 5 #if OS_MINOR_VERSION == 0 #define HAVE_LOCK_F #define HAVE_LOCALTIME_R #else #error unknown platform #endif /* defined OS_MINOR_VERSION == 2 */ +#else /* define OS_MAJOR_VERSION == 5 */ +#if OS_MAJOR_VERSION == 4 +#if OS_MINOR_VERSION == 0 +#define HAVE_LOCK_F +#define HAVE_LOCALTIME_R +#else + #error unknown platform +#endif /* defined OS_MINOR_VERSION == 0 */ #else #error unknown platform #endif /* defined OS_MAJOR_VERSION == 4 */ +#endif /* defined OS_MAJOR_VERSION == 5 */ #endif /* defined NETBSD */ #if defined SUNOS |