diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-26 06:58:52 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-26 06:58:52 +0000 |
commit | e2c83d282afb979ff2cdb3854fb82268376fdb97 (patch) | |
tree | c246903282c5bcfca11ad370c3d5d6e3e5028299 | |
parent | 7e18fc6a2bc6d3c9669308391f125e5815a46275 (diff) | |
download | ATCD-e2c83d282afb979ff2cdb3854fb82268376fdb97.tar.gz |
Added ACE_HAS_NONCONST_SELECT_TIMEVAL.
This file is pretty out-dated.
-rw-r--r-- | ace/config-freebsd.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/ace/config-freebsd.h b/ace/config-freebsd.h index f2d3a873120..8882c32d98b 100644 --- a/ace/config-freebsd.h +++ b/ace/config-freebsd.h @@ -6,13 +6,20 @@ // The following configuration file is designed to work for FreeBSD // platforms using GNU C++ but without the POSIX (pthread) threads package -#ifndef ACE_CONFIG_H -#define ACE_CONFIG_H +#ifndef ACE_CONFIG_FREEBSD_H +#define ACE_CONFIG_FREEBSD_H + +#include <osreldate.h> +// Make sure we source in the OS version. #if ! defined (__ACE_INLINE__) #define __ACE_INLINE__ #endif /* ! __ACE_INLINE__ */ +#if (__FreeBSD_version < 220000) && defined (_THREAD_SAFE) +#error Threads are not supported. +#endif /* __FreeBSD_version < 220000 */ + #define ACE_SIZEOF_LONG_DOUBLE 12 #if defined (__GNUG__) @@ -172,5 +179,6 @@ ange */ // Optimize ACE_Handle_Set for select(). #define ACE_HAS_HANDLE_SET_OPTIMIZED_FOR_SELECT +#define ACE_HAS_NONCONST_SELECT_TIMEVAL -#endif /* ACE_CONFIG_H */ +#endif /* ACE_CONFIG_FREEBSD_H */ |