summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-05-17 18:44:39 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-05-17 18:44:39 +0200
commit575704a99a4f80302c2023f8e618c99af96ff9e3 (patch)
tree6327c25f0171cdcc42136418c2e8580fb267fdc2 /src
parentff4417a0cc344eed56d5ddd42b2a4cfd69b17c43 (diff)
downloadsqlitexx-575704a99a4f80302c2023f8e618c99af96ff9e3.tar.gz
sqlitexx-575704a99a4f80302c2023f8e618c99af96ff9e3.tar.bz2
fix for Linux >=3.1
fixed an illegal pointer cast in test9
Diffstat (limited to 'src')
-rw-r--r--src/port/sys_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/port/sys_internal.h b/src/port/sys_internal.h
index b846810..52fcae3 100644
--- a/src/port/sys_internal.h
+++ b/src/port/sys_internal.h
@@ -34,7 +34,7 @@
#endif /* defined OS_MINOR_VERSION == 6 */
#else
#if OS_MAJOR_VERSION == 3
-#if OS_MINOR_VERSION == 0
+#if OS_MINOR_VERSION >= 0 && OS_MINOR_VERSION <= 3
#define _XOPEN_SOURCE 600
#define HAVE_STRDUP
#else