diff options
author | Francois Tigeot <ftigeot@wolfpond.org> | 2011-02-15 12:15:27 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-02-15 15:55:19 +0000 |
commit | f091f5b395cc462a01a52aa7b535202e8b232463 (patch) | |
tree | cf609d629fbca72c5808de82e57b60a29a78df9a /sal/inc | |
parent | eb07114a5c5d144e894b455c8b6f83e67463edf5 (diff) |
dragonfly stuff
Diffstat (limited to 'sal/inc')
-rw-r--r-- | sal/inc/osl/endian.h | 3 | ||||
-rw-r--r-- | sal/inc/rtl/uuid.h | 2 | ||||
-rw-r--r-- | sal/inc/sal/alloca.h | 2 | ||||
-rw-r--r-- | sal/inc/sal/config.h | 2 | ||||
-rw-r--r-- | sal/inc/sal/types.h | 2 |
5 files changed, 7 insertions, 4 deletions
diff --git a/sal/inc/osl/endian.h b/sal/inc/osl/endian.h index 7eb0094d36db..aecf7dd84580 100644 --- a/sal/inc/osl/endian.h +++ b/sal/inc/osl/endian.h @@ -159,7 +159,8 @@ extern "C" { #if !defined(_WIN32) && !defined(_WIN16) && !defined(OS2) && \ !defined(LINUX) && !defined(NETBSD) && !defined(SCO) && \ !defined(AIX) && !defined(HPUX) && !defined(OPENBSD) && \ - !defined(SOLARIS) && !defined(MACOSX) && !defined(FREEBSD) + !defined(SOLARIS) && !defined(MACOSX) && !defined(FREEBSD) && \ + !defined(DRAGONFLY) # error "Target platform not specified !" #endif diff --git a/sal/inc/rtl/uuid.h b/sal/inc/rtl/uuid.h index d17c328fe638..a74fa416393c 100644 --- a/sal/inc/rtl/uuid.h +++ b/sal/inc/rtl/uuid.h @@ -203,6 +203,8 @@ void SAL_CALL rtl_createNamedUuid( #define UUID_SYSTEM_TIME_RESOLUTION_100NS_TICKS 10 #elif OPENBSD #define UUID_SYSTEM_TIME_RESOLUTION_100NS_TICKS 10 +#elif DRAGONFLY +#define UUID_SYSTEM_TIME_RESOLUTION_100NS_TICKS 10 #else #error "System time resolution must be calculated!" #endif diff --git a/sal/inc/sal/alloca.h b/sal/inc/sal/alloca.h index 0580a1faa42f..f1001bde0321 100644 --- a/sal/inc/sal/alloca.h +++ b/sal/inc/sal/alloca.h @@ -36,7 +36,7 @@ #define INCLUDED_ALLOCA_H #endif -#elif defined (FREEBSD) || defined(NETBSD) || defined(OPENBSD) +#elif defined (FREEBSD) || defined(NETBSD) || defined(OPENBSD) || defined(DRAGONFLY) #ifndef INCLUDED_STDLIB_H #include <stdlib.h> diff --git a/sal/inc/sal/config.h b/sal/inc/sal/config.h index 9cdf2ac3fd18..d1ef84114f90 100644 --- a/sal/inc/sal/config.h +++ b/sal/inc/sal/config.h @@ -93,7 +93,7 @@ #endif #if defined(SOLARIS) || defined(LINUX) || defined(NETBSD) || defined(FREEBSD) || \ - defined(SCO) || defined(AIX) || defined(OPENBSD) + defined(SCO) || defined(AIX) || defined(OPENBSD) || defined(DRAGONFLY) #define SAL_UNX #define SAL_DLLEXTENSION ".so" #define SAL_DLLPREFIX "lib" diff --git a/sal/inc/sal/types.h b/sal/inc/sal/types.h index 07ae0cfa049b..2f25749f7d4a 100644 --- a/sal/inc/sal/types.h +++ b/sal/inc/sal/types.h @@ -351,7 +351,7 @@ typedef struct _sal_Sequence #ifdef __cplusplus #if defined SAL_W32 || defined SOLARIS || defined LINUX || defined MACOSX || \ defined FREEBSD || defined NETBSD || defined AIX || defined OS2 || \ - defined OPENBSD + defined OPENBSD || defined DRAGONFLY #define SAL_CONST_CAST(type, expr) (const_cast< type >(expr)) #define SAL_REINTERPRET_CAST(type, expr) (reinterpret_cast< type >(expr)) #define SAL_STATIC_CAST(type, expr) (static_cast< type >(expr)) |