diff options
author | Andreas Baumann <baumann@hyakutake-freebsd864.eurospider.ch> | 2010-05-21 11:51:05 +0200 |
---|---|---|
committer | Andreas Baumann <baumann@hyakutake-freebsd864.eurospider.ch> | 2010-05-21 11:51:05 +0200 |
commit | 0c7d6adf14a568a792ce65e359f9fb177499ad74 (patch) | |
tree | 6dbf1c2ce9e2f59a89cdadcb9c01846745f805f4 /src | |
parent | eca7b5dbd6929a75075372cc4be2c6b376d9cb17 (diff) | |
download | wolfbones-0c7d6adf14a568a792ce65e359f9fb177499ad74.tar.gz wolfbones-0c7d6adf14a568a792ce65e359f9fb177499ad74.tar.bz2 |
fixed compilation on FreeBSD 8.0 (64-bit)
Diffstat (limited to 'src')
-rw-r--r-- | src/port/sys_internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/port/sys_internal.h b/src/port/sys_internal.h index 1eaaa4e..1a83785 100644 --- a/src/port/sys_internal.h +++ b/src/port/sys_internal.h @@ -41,6 +41,11 @@ #endif /* defined LINUX */ #if defined FREEBSD +#if OS_MAJOR_VERSION == 8 +#define HAVE_LOCK_F +#define HAVE_LOCALTIME_R +#define HAVE_DLFCN +#else #if OS_MAJOR_VERSION == 7 #if OS_MINOR_VERSION == 0 #define HAVE_LOCK_F @@ -60,6 +65,7 @@ #error unknown platform #endif /* defined OS_MAJOR_VERSION == 6 */ #endif /* defined OS_MAJOR_VERSION == 7 */ +#endif /* defined OS_MAJOR_VERSION == 8 */ #endif /* defined FREEBSD */ #if defined OPENBSD |