Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r58135 - trunk/boost/type_traits
From: john_at_[hidden]
Date: 2009-12-04 05:18:29


Author: johnmaddock
Date: 2009-12-04 05:18:29 EST (Fri, 04 Dec 2009)
New Revision: 58135
URL: http://svn.boost.org/trac/boost/changeset/58135

Log:
Check for __unix__ as well as unix.
Fixes #3708.
Text files modified:
   trunk/boost/type_traits/intrinsics.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/type_traits/intrinsics.hpp
==============================================================================
--- trunk/boost/type_traits/intrinsics.hpp (original)
+++ trunk/boost/type_traits/intrinsics.hpp 2009-12-04 05:18:29 EST (Fri, 04 Dec 2009)
@@ -149,7 +149,7 @@
 # define BOOST_IS_CLASS(T) __is_class(T)
 # define BOOST_IS_ENUM(T) __is_enum(T)
 # define BOOST_IS_POLYMORPHIC(T) __is_polymorphic(T)
-# if !defined(unix) || defined(__LP64__)
+# if (!defined(unix) && !defined(__unix__)) || defined(__LP64__)
       // GCC sometimes lies about alignment requirements
       // of type double on 32-bit unix platforms, use the
       // old implementation instead in that case:


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