Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50423 - in trunk/boost/config: . platform
From: john_at_[hidden]
Date: 2009-01-01 05:30:51


Author: johnmaddock
Date: 2009-01-01 05:30:51 EST (Thu, 01 Jan 2009)
New Revision: 50423
URL: http://svn.boost.org/trac/boost/changeset/50423

Log:
Fixes #2624.
Text files modified:
   trunk/boost/config/platform/bsd.hpp | 7 ++++---
   trunk/boost/config/suffix.hpp | 3 ++-
   2 files changed, 6 insertions(+), 4 deletions(-)

Modified: trunk/boost/config/platform/bsd.hpp
==============================================================================
--- trunk/boost/config/platform/bsd.hpp (original)
+++ trunk/boost/config/platform/bsd.hpp 2009-01-01 05:30:51 EST (Thu, 01 Jan 2009)
@@ -36,7 +36,8 @@
 // FreeBSD 3.x has pthreads support, but defines _POSIX_THREADS in <pthread.h>
 // and not in <unistd.h>
 //
-#if (defined(__FreeBSD__) && (__FreeBSD__ <= 3)) || defined(__OpenBSD__)
+#if (defined(__FreeBSD__) && (__FreeBSD__ <= 3))\
+ || defined(__OpenBSD__) || defined(__DragonFly__)
 # define BOOST_HAS_PTHREADS
 #endif
 
@@ -55,13 +56,13 @@
 #endif
 
 #if !((defined(__FreeBSD__) && (__FreeBSD__ >= 5)) \
- || (__NetBSD_GCC__ >= 2095003))
+ || (__NetBSD_GCC__ >= 2095003) || defined(__DragonFly__))
 # define BOOST_NO_CWCHAR
 #endif
 //
 // The BSD <ctype.h> has macros only, no functions:
 //
-#if !defined(__OpenBSD__)
+#if !defined(__OpenBSD__) || defined(__DragonFly__)
 # define BOOST_NO_CTYPE_FUNCTIONS
 #endif
 

Modified: trunk/boost/config/suffix.hpp
==============================================================================
--- trunk/boost/config/suffix.hpp (original)
+++ trunk/boost/config/suffix.hpp 2009-01-01 05:30:51 EST (Thu, 01 Jan 2009)
@@ -223,7 +223,8 @@
 // from here then add to the appropriate compiler section):
 //
 #if (defined(__MT__) || defined(_MT) || defined(_REENTRANT) \
- || defined(_PTHREADS)) && !defined(BOOST_HAS_THREADS)
+ || defined(_PTHREADS) || defined(__APPLE__) || defined(__DragonFly__)) \
+ && !defined(BOOST_HAS_THREADS)
 # define BOOST_HAS_THREADS
 #endif
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk