|
Boost-Commit : |
From: Boris.Gubenko_at_[hidden]
Date: 2007-09-13 22:25:07
Author: bgubenko
Date: 2007-09-13 22:25:06 EDT (Thu, 13 Sep 2007)
New Revision: 39256
URL: http://svn.boost.org/trac/boost/changeset/39256
Log:
on HP-UX, macro BOOST_DATE_TIME_HAS_REENTRANT_STD_FUNCTIONS should be defined only if macro _REENTRANT is defined
Text files modified:
trunk/boost/date_time/compiler_config.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/date_time/compiler_config.hpp
==============================================================================
--- trunk/boost/date_time/compiler_config.hpp (original)
+++ trunk/boost/date_time/compiler_config.hpp 2007-09-13 22:25:06 EDT (Thu, 13 Sep 2007)
@@ -140,7 +140,7 @@
#if defined(BOOST_HAS_THREADS)
# if defined(_MSC_VER) || defined(__MWERKS__) || defined(__MINGW32__) || defined(__BORLANDC__)
//no reentrant posix functions (eg: localtime_r)
-# else
+# elif (!defined(__hpux) || (defined(__hpux) && defined(_REENTRANT)))
# define BOOST_DATE_TIME_HAS_REENTRANT_STD_FUNCTIONS
# endif
#endif
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