summaryrefslogtreecommitdiff
path: root/ACE/ace/config-freebsd.h
diff options
context:
space:
mode:
authorolli <olli@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2011-03-04 16:03:46 +0000
committerolli <olli@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2011-03-04 16:03:46 +0000
commit0e8407a8ad9ffe24ad8b0fdcc930e6ccd0451032 (patch)
treec7ece6c7b50557ec1add8aa13fd6b6b3f98c8ffc /ACE/ace/config-freebsd.h
parent52a01528d0e2f8a574c9bec9640460b9643fe3bd (diff)
downloadATCD-0e8407a8ad9ffe24ad8b0fdcc930e6ccd0451032.tar.gz
ChangeLogTag: Fri Mar 4 16:00:26 UTC 2011 Olli Savia <ops@iki.fi>
Diffstat (limited to 'ACE/ace/config-freebsd.h')
-rw-r--r--ACE/ace/config-freebsd.h29
1 files changed, 2 insertions, 27 deletions
diff --git a/ACE/ace/config-freebsd.h b/ACE/ace/config-freebsd.h
index 36356355b5b..b7b6e05e5a3 100644
--- a/ACE/ace/config-freebsd.h
+++ b/ACE/ace/config-freebsd.h
@@ -8,45 +8,20 @@
#include /**/ "ace/pre.h"
#if !defined (ACE_MT_SAFE)
-# define ACE_MT_SAFE 1
+# define ACE_MT_SAFE 1
#endif
-#if ACE_MT_SAFE
- // Yes, we do have threads.
-# define ACE_HAS_THREADS 1
-#else
- // Set to 0 since that's what config-posix.h checks for.
-# define ACE_HAS_THREADS 0
-#endif /* ACE_MT_SAFE */
-
#include "ace/config-posix.h"
// Make sure we source in the OS version.
#include <osreldate.h>
-#if (__FreeBSD_version < 220000)
-# if defined (ACE_HAS_THREADS)
-# error Threads are not supported.
-# endif /* ACE_HAS_THREADS */
-#endif /* __FreeBSD_version < 220000 */
-
-#if defined (__GNUG__)
-# include "ace/config-g++-common.h"
-#endif /* __GNUG__ */
+#include "ace/config-g++-common.h"
#if defined (ACE_HAS_PENTIUM)
# undef ACE_HAS_PENTIUM
#endif /* ACE_HAS_PENTIUM */
-// Platform specific directives
-// gcc defines __FreeBSD__ automatically for us.
-#ifdef ACE_HAS_THREADS
-# if !defined (_THREAD_SAFE)
-# define _THREAD_SAFE
-# endif /* _THREAD_SAFE */
-#endif
-
-
#define ACE_HAS_3_PARAM_READDIR_R
#define ACE_HAS_3_PARAM_WCSTOK
#define ACE_HAS_4_4BSD_SENDMSG_RECVMSG