VxWorks has double align issues similar to unix

but only on 32bit IA
This commit is contained in:
Brian Kuhl
2017-09-05 23:46:58 -04:00
committed by GitHub
parent 06d07e3d11
commit 54f3c61f08

View File

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