diff options
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 |