summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2015-08-29 09:49:46 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2015-08-29 09:49:46 +0200
commita87dee29f37410cbcf32196c4dd4041558559d7a (patch)
tree75321d659ba99e654f85bc7d50e7cf9345b526c6
parent1c34feff5c58427e8e0eee5bbc45aac0d1c0ad53 (diff)
downloadsqlitexx-a87dee29f37410cbcf32196c4dd4041558559d7a.tar.gz
sqlitexx-a87dee29f37410cbcf32196c4dd4041558559d7a.tar.bz2
version bump in Linux check
-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 */