From a87dee29f37410cbcf32196c4dd4041558559d7a Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 29 Aug 2015 09:49:46 +0200 Subject: version bump in Linux check --- src/port/sys_internal.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/port/sys_internal.h b/src/port/sys_internal.h index 61ed3a3..64faffd 100644 --- a/src/port/sys_internal.h +++ b/src/port/sys_internal.h @@ -34,14 +34,21 @@ #endif /* defined OS_MINOR_VERSION == 6 */ #else #if OS_MAJOR_VERSION == 3 -#if OS_MINOR_VERSION >= 0 && OS_MINOR_VERSION <= 16 +#if OS_MINOR_VERSION >= 0 && OS_MINOR_VERSION <= 19 #define _XOPEN_SOURCE 600 #define HAVE_STRDUP #else #error unknown platform #endif /* defined OS_MINOR_VERSION == 0 */ +#else +#if OS_MAJOR_VERSION == 4 +#if OS_MINOR_VERSION >= 0 && OS_MINOR_VERSION <= 1 +#define _XOPEN_SOURCE 600 +#define HAVE_STRDUP #else #error unknown platform +#endif /* defined OS_MINOR_VERSION == 0 */ +#endif /* defined OS_MAJOR_VERSION == 4 */ #endif /* defined OS_MAJOR_VERSION == 3 */ #endif /* defined OS_MAJOR_VERSION == 2 */ #endif /* defined LINUX */ -- cgit v1.2.3-54-g00ecf