$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: igaztanaga_at_[hidden]
Date: 2007-12-04 17:05:29
Author: igaztanaga
Date: 2007-12-04 17:05:28 EST (Tue, 04 Dec 2007)
New Revision: 41704
URL: http://svn.boost.org/trac/boost/changeset/41704
Log:
Added Leopard workaround. _POSIX_THREAD_PROCESS_SHARED is defined but does not seem to work. For the moment, Mac OS will use emulation code
Text files modified: 
   trunk/boost/interprocess/detail/workaround.hpp |     4 +++-                                    
   1 files changed, 3 insertions(+), 1 deletions(-)
Modified: trunk/boost/interprocess/detail/workaround.hpp
==============================================================================
--- trunk/boost/interprocess/detail/workaround.hpp	(original)
+++ trunk/boost/interprocess/detail/workaround.hpp	2007-12-04 17:05:28 EST (Tue, 04 Dec 2007)
@@ -19,7 +19,9 @@
 
    #if defined(_POSIX_THREAD_PROCESS_SHARED)
    # if !((_XOPEN_VERSION >= 600) && (_POSIX_THREAD_PROCESS_SHARED - 0 <= 0))
-   #  if !defined(__CYGWIN__)
+   // Cygwin defines _POSIX_THREAD_PROCESS_SHARED but does not support it.
+   // Mac Os X >= Leopard defines _POSIX_THREAD_PROCESS_SHARED but it does not seem to work
+   #  if !defined(__CYGWIN__) && !defined(__APPLE__)
    #  define BOOST_INTERPROCESS_POSIX_PROCESS_SHARED
    #  endif
    # endif