|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r63416 - trunk/libs/filesystem/v3/src
From: bdawes_at_[hidden]
Date: 2010-06-28 17:20:46
Author: bemandawes
Date: 2010-06-28 17:20:45 EDT (Mon, 28 Jun 2010)
New Revision: 63416
URL: http://svn.boost.org/trac/boost/changeset/63416
Log:
Revert Sun changes - they weren't helping
Text files modified:
trunk/libs/filesystem/v3/src/operations.cpp | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
Modified: trunk/libs/filesystem/v3/src/operations.cpp
==============================================================================
--- trunk/libs/filesystem/v3/src/operations.cpp (original)
+++ trunk/libs/filesystem/v3/src/operations.cpp 2010-06-28 17:20:45 EDT (Mon, 28 Jun 2010)
@@ -18,9 +18,8 @@
# define BOOST_SYSTEM_NO_DEPRECATED
#endif
-// Sun must told to use modern semantics for readdir_r. See their readdir_r man page.
-#if defined(__sun)
-# define _POSIX_C_SOURCE 199506L
+#ifndef _POSIX_PTHREAD_SEMANTICS
+# define _POSIX_PTHREAD_SEMANTICS // Sun readdir_r()needs this
#endif
#if !(defined(__HP_aCC) && defined(_ILP32) && \
@@ -76,9 +75,6 @@
# include <fcntl.h>
# include <utime.h>
# include "limits.h"
-# if defined(__sun) && (!defined(_POSIX_PTHREAD_SEMANTICS) || !defined(_REENTRANT))
-# error Library not behaving as specified by Sun readdir_r man page
-# endif
# else // BOOST_WINDOW_API
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