From 7c3943709de0c1c5ff35d6a7b72fd726fc422f1e Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 21 Aug 2011 12:12:52 +0200 Subject: adapted for Linux 3.0 --- src/port/sys_internal.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src') 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 @@ -36,8 +36,19 @@ #else #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 */ -- cgit v1.2.3-54-g00ecf