Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85695 - trunk/boost/sync
From: andrey.semashev_at_[hidden]
Date: 2013-09-16 00:32:09


Author: andysem
Date: 2013-09-16 00:32:09 EDT (Mon, 16 Sep 2013)
New Revision: 85695
URL: http://svn.boost.org/trac/boost/changeset/85695

Log:
Added more Apple macros to test for Darwin.

Text files modified:
   trunk/boost/sync/semaphore.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/sync/semaphore.hpp
==============================================================================
--- trunk/boost/sync/semaphore.hpp Sun Sep 15 20:33:01 2013 (r85694)
+++ trunk/boost/sync/semaphore.hpp 2013-09-16 00:32:09 EDT (Mon, 16 Sep 2013) (r85695)
@@ -94,7 +94,7 @@
 
 #endif // BOOST_HAS_UNISTD_H
 
-#if !defined(BOOST_SYNC_DETAIL_USE_POSIX_SEMAPHORES) && defined(__APPLE__)
+#if !defined(BOOST_SYNC_DETAIL_USE_POSIX_SEMAPHORES) && (defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__))
 #include <Availability.h>
 
 // OSX


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