From ad2d9f77461c6ffca4afb2b62e4632bfb1d2b12d Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 7 Jun 2010 22:51:59 +0200 Subject: updated for FreeBSD 7.2 --- include/wolf/port/sys.h | 4 ++-- src/port/sys_internal.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/wolf/port/sys.h b/include/wolf/port/sys.h index 98661a6..b8d90d4 100644 --- a/include/wolf/port/sys.h +++ b/include/wolf/port/sys.h @@ -81,7 +81,7 @@ #endif /* defined OS_MINOR_VERSION == 0 */ #else #if OS_MAJOR_VERSION == 7 -#if OS_MINOR_VERSION == 0 +#if OS_MINOR_VERSION >= 0 && OS_MINOR_VERSION <= 2 #define _XOPEN_SOURCE 600 #define HAVE_STDBOOL_H #define HAVE_STDINT_H @@ -101,7 +101,7 @@ #define HAVE_PTHREADS #else #error unknown platform -#endif /* defined OS_MINOR_VERSION == 0 */ +#endif /* defined OS_MINOR_VERSION >= 0 && OS_MINOR_VERSION <= 2 */ #else #if OS_MAJOR_VERSION == 6 #if OS_MINOR_VERSION == 2 diff --git a/src/port/sys_internal.h b/src/port/sys_internal.h index 8ff88cd..11f289e 100644 --- a/src/port/sys_internal.h +++ b/src/port/sys_internal.h @@ -49,14 +49,14 @@ #define WOLF_LIBRARY_DLERROR_CONST const #else #if OS_MAJOR_VERSION == 7 -#if OS_MINOR_VERSION == 0 +#if OS_MINOR_VERSION >= 0 && OS_MINOR_VERSION <= 2 #define HAVE_LOCK_F #define HAVE_LOCALTIME_R #define HAVE_DLFCN #define WOLF_LIBRARY_DLERROR_CONST const #else #error unknown platform -#endif /* defined OS_MINOR_VERSION == 0 */ +#endif /* defined OS_MINOR_VERSION >= 0 && OS_MINOR_VERSION <= 2 */ #else #if OS_MAJOR_VERSION == 6 #if OS_MINOR_VERSION == 2 -- cgit v1.2.3-54-g00ecf