|
Boost-Commit : |
From: anthony_at_[hidden]
Date: 2008-05-09 03:47:14
Author: anthonyw
Date: 2008-05-09 03:47:14 EDT (Fri, 09 May 2008)
New Revision: 45241
URL: http://svn.boost.org/trac/boost/changeset/45241
Log:
Use _WIN32 rather than WIN32 to prevent include of <unistd.h>
Text files modified:
trunk/boost/thread/pthread/mutex.hpp | 2 +-
trunk/boost/thread/pthread/recursive_mutex.hpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/thread/pthread/mutex.hpp
==============================================================================
--- trunk/boost/thread/pthread/mutex.hpp (original)
+++ trunk/boost/thread/pthread/mutex.hpp 2008-05-09 03:47:14 EDT (Fri, 09 May 2008)
@@ -11,7 +11,7 @@
#include <boost/thread/locks.hpp>
#include <boost/thread/thread_time.hpp>
#include <boost/assert.hpp>
-#ifndef WIN32
+#ifndef _WIN32
#include <unistd.h>
#endif
#include <errno.h>
Modified: trunk/boost/thread/pthread/recursive_mutex.hpp
==============================================================================
--- trunk/boost/thread/pthread/recursive_mutex.hpp (original)
+++ trunk/boost/thread/pthread/recursive_mutex.hpp 2008-05-09 03:47:14 EDT (Fri, 09 May 2008)
@@ -11,7 +11,7 @@
#include <boost/thread/locks.hpp>
#include <boost/thread/thread_time.hpp>
#include <boost/assert.hpp>
-#ifndef WIN32
+#ifndef _WIN32
#include <unistd.h>
#endif
#include <boost/date_time/posix_time/conversion.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