Update of /cvsroot/boost/boost/boost/interprocess/sync/posix
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17964/sync/posix

Modified Files:
        interprocess_mutex.hpp interprocess_recursive_mutex.hpp 
Log Message:
Corrected gcc bug in release mode

Index: interprocess_mutex.hpp
===================================================================
RCS file: 
/cvsroot/boost/boost/boost/interprocess/sync/posix/interprocess_mutex.hpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- interprocess_mutex.hpp      12 May 2007 12:51:21 -0000      1.5
+++ interprocess_mutex.hpp      23 May 2007 15:47:54 -0000      1.6
@@ -32,7 +32,7 @@
 
 namespace interprocess {
 
-#ifdef _POSIX_TIMEOUTS
+#ifdef BOOST_INTERPROCESS_POSIX_TIMEOUTS
 
 inline interprocess_mutex::interprocess_mutex()
 {
@@ -78,7 +78,7 @@
    assert(res == 0);
 }
 
-#else //#ifdef _POSIX_TIMEOUTS
+#else //#ifdef BOOST_INTERPROCESS_POSIX_TIMEOUTS
 
 inline interprocess_mutex::interprocess_mutex()
     : m_locked(false)
@@ -187,7 +187,7 @@
     assert(res == 0);
 }
 
-#endif   //#ifdef _POSIX_TIMEOUTS
+#endif   //#ifdef BOOST_INTERPROCESS_POSIX_TIMEOUTS
 
 }  //namespace interprocess {
 

Index: interprocess_recursive_mutex.hpp
===================================================================
RCS file: 
/cvsroot/boost/boost/boost/interprocess/sync/posix/interprocess_recursive_mutex.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- interprocess_recursive_mutex.hpp    12 May 2007 12:51:21 -0000      1.4
+++ interprocess_recursive_mutex.hpp    23 May 2007 15:47:54 -0000      1.5
@@ -31,7 +31,7 @@
 
 namespace interprocess {
 
-#if (_POSIX_VERSION >= 200112L || _XOPEN_VERSION >= 500) && defined 
_POSIX_TIMEOUTS
+#if (_POSIX_VERSION >= 200112L || _XOPEN_VERSION >= 500) && defined 
BOOST_INTERPROCESS_POSIX_TIMEOUTS
 inline interprocess_recursive_mutex::interprocess_recursive_mutex()
 {
    detail::mutexattr_wrapper mut_attr(true);
@@ -79,7 +79,7 @@
    assert(res == 0);
 }
 
-#else //#if (_POSIX_VERSION >= 200112L || _XOPEN_VERSION >= 500) && defined 
_POSIX_TIMEOUTS
+#else //#if (_POSIX_VERSION >= 200112L || _XOPEN_VERSION >= 500) && defined 
BOOST_INTERPROCESS_POSIX_TIMEOUTS
 
 inline interprocess_recursive_mutex::interprocess_recursive_mutex()
     : m_valid_id(false), m_count(0)
@@ -219,8 +219,7 @@
    assert(res == 0);
 }
 
-#endif   //_POSIX_VERSION >= 200112L
+#endif   //#if (_POSIX_VERSION >= 200112L || _XOPEN_VERSION >= 500) && defined 
BOOST_INTERPROCESS_POSIX_TIMEOUTS
 
 }  //namespace interprocess {
-
 }  //namespace boost {


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to