summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2011-11-17 08:24:46 +0100
committerAndreas Baumann <abaumann@yahoo.com>2011-11-17 08:24:46 +0100
commitabb5c4f09cb5ef0f9b9c32e6ff57227fb29a372b (patch)
treee350afc973cea77e9a6b5a37dd9e964434540ece /src
parentd19c75d992c8eb2d623f1148e8e150bfb5d741d2 (diff)
downloadwolfbones-abb5c4f09cb5ef0f9b9c32e6ff57227fb29a372b.tar.gz
wolfbones-abb5c4f09cb5ef0f9b9c32e6ff57227fb29a372b.tar.bz2
adapted for OpenBSD 5.0 on SPARC
Diffstat (limited to 'src')
-rw-r--r--src/port/sys_internal.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/port/sys_internal.h b/src/port/sys_internal.h
index 82d3d7d..fe73608 100644
--- a/src/port/sys_internal.h
+++ b/src/port/sys_internal.h
@@ -96,7 +96,16 @@
#error unknown platform
#endif /* defined OS_MINOR_VERSION >= 2 && OS_MINOR_VERSION <= 7 */
#else
+#if OS_MAJOR_VERSION == 5
+#if OS_MINOR_VERSION == 0
+#define HAVE_LOCK_F
+#define HAVE_LOCALTIME_R
+#define HAVE_DLFCN
+#define WOLF_LIBRARY_DLERROR_CONST const
+#endif /* OS_MINOR_VERSION == 0 */
+#else
#error unknown platform
+#endif /* defined OS_MAJOR_VERSION == 5 */
#endif /* defined OS_MAJOR_VERSION == 4 */
#endif /* defined OPENBSD */