summaryrefslogtreecommitdiff
path: root/boost/type_traits/intrinsics.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/type_traits/intrinsics.hpp')
-rw-r--r--boost/type_traits/intrinsics.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/boost/type_traits/intrinsics.hpp b/boost/type_traits/intrinsics.hpp
index e2246be4d3..7d97157a77 100644
--- a/boost/type_traits/intrinsics.hpp
+++ b/boost/type_traits/intrinsics.hpp
@@ -276,7 +276,8 @@
# 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(__unix__)) || defined(__LP64__)
+# if (!defined(unix) && !defined(__unix__) && \
+ !(defined(__VXWORKS__) && defined(__i386__))) || defined(__LP64__)
// GCC sometimes lies about alignment requirements
// of type double on 32-bit unix platforms, use the
// old implementation instead in that case: