summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/port/sys_internal.h9
1 files changed, 8 insertions, 1 deletions
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 */