From 54f3c61f08f384221ab68acebacee5a5e3d8a63c Mon Sep 17 00:00:00 2001 From: Brian Kuhl Date: Tue, 5 Sep 2017 23:46:58 -0400 Subject: [PATCH] VxWorks has double align issues similar to unix but only on 32bit IA --- include/boost/type_traits/intrinsics.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/type_traits/intrinsics.hpp b/include/boost/type_traits/intrinsics.hpp index e2246be..b1591d0 100644 --- a/include/boost/type_traits/intrinsics.hpp +++ b/include/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: