Check for __unix__ as well as unix.

Fixes #3708.

[SVN r58135]
This commit is contained in:
John Maddock
2009-12-04 10:18:29 +00:00
parent c8d4c6ccd1
commit 908fa41cc3

View File

@ -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: