diff options
-rw-r--r-- | include/wolf/port/sys.h | 4 | ||||
-rw-r--r-- | 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 |