summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2011-08-21 12:12:52 +0200
committerAndreas Baumann <abaumann@yahoo.com>2011-08-21 12:12:52 +0200
commit7c3943709de0c1c5ff35d6a7b72fd726fc422f1e (patch)
tree2e0086c30b58b3f354ce8884833fbe1c16bddc23 /src
parent47dc7fd793106ec8ba3d6d0f39674735aa4bbaf9 (diff)
downloadwolfbones-7c3943709de0c1c5ff35d6a7b72fd726fc422f1e.tar.gz
wolfbones-7c3943709de0c1c5ff35d6a7b72fd726fc422f1e.tar.bz2
adapted for Linux 3.0
Diffstat (limited to 'src')
-rw-r--r--src/port/sys_internal.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/port/sys_internal.h b/src/port/sys_internal.h
index 11f289e..fb2ab99 100644
--- a/src/port/sys_internal.h
+++ b/src/port/sys_internal.h
@@ -37,7 +37,18 @@
#error unknown platform
#endif /* defined OS_MINOR_VERSION == 6 */
#else
+#if OS_MAJOR_VERSION == 3
+#if OS_MINOR_VERSION == 0
+#define HAVE_LOCK_F
+#define HAVE_LOCALTIME_R
+#define HAVE_DLFCN
+#define WOLF_LIBRARY_DLERROR_CONST
+#else
+ #error unknown platform
+#endif /* defined OS_MINOR_VERSION == 0 */
+#else
#error unknown platform
+#endif /* defined OS_MAJOR_VERSION == 3 */
#endif /* defined OS_MAJOR_VERSION == 2 */
#endif /* defined LINUX */