Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80466 - trunk/boost/thread/pthread
From: vicente.botet_at_[hidden]
Date: 2012-09-09 10:48:19


Author: viboes
Date: 2012-09-09 10:48:18 EDT (Sun, 09 Sep 2012)
New Revision: 80466
URL: http://svn.boost.org/trac/boost/changeset/80466

Log:
Thread: force SIG_ATOMIC_MAX with __STDC_LIMIT_MACROS
Text files modified:
   trunk/boost/thread/pthread/once.hpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/boost/thread/pthread/once.hpp
==============================================================================
--- trunk/boost/thread/pthread/once.hpp (original)
+++ trunk/boost/thread/pthread/once.hpp 2012-09-09 10:48:18 EDT (Sun, 09 Sep 2012)
@@ -17,6 +17,8 @@
 #include <boost/thread/pthread/pthread_mutex_scoped_lock.hpp>
 #include <boost/cstdint.hpp>
 #include <boost/thread/detail/delete.hpp>
+// Force SIG_ATOMIC_MAX tobe defined
+#define __STDC_LIMIT_MACROS
 #include <csignal>
 
 #include <boost/config/abi_prefix.hpp>


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