From abb5c4f09cb5ef0f9b9c32e6ff57227fb29a372b Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 17 Nov 2011 08:24:46 +0100 Subject: adapted for OpenBSD 5.0 on SPARC --- src/port/sys_internal.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src') 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 @@ -95,8 +95,17 @@ #else #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 */ -- cgit v1.2.3-54-g00ecf