summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2011-11-09 18:22:21 +0100
committerAndreas Baumann <abaumann@yahoo.com>2011-11-09 18:22:21 +0100
commit404e05db0773d1b7f50bf2fc1403d71328aa50e0 (patch)
tree0d1d6ca13d2927373f1eeb3b4696a08bceb9117a
parentf98a0dd6e82020efcfd947d519f0b1258cf56938 (diff)
downloadwolfbones-404e05db0773d1b7f50bf2fc1403d71328aa50e0.tar.gz
wolfbones-404e05db0773d1b7f50bf2fc1403d71328aa50e0.tar.bz2
adapted for Linux 3.1
-rw-r--r--include/wolf/port/sys.h2
-rw-r--r--src/port/sys_internal.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/wolf/port/sys.h b/include/wolf/port/sys.h
index c8f110a..ae82af8 100644
--- a/include/wolf/port/sys.h
+++ b/include/wolf/port/sys.h
@@ -53,7 +53,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 <= 1
#define _XOPEN_SOURCE 600
#define HAVE_STDBOOL_H
#define HAVE_STDINT_H
diff --git a/src/port/sys_internal.h b/src/port/sys_internal.h
index fb2ab99..82d3d7d 100644
--- a/src/port/sys_internal.h
+++ b/src/port/sys_internal.h
@@ -38,7 +38,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 <= 1
#define HAVE_LOCK_F
#define HAVE_LOCALTIME_R
#define HAVE_DLFCN