Merge pull request #47 from kuhlenough/develop

VxWorks has double align issues similar to unix
This commit is contained in:
jzmaddock
2017-10-26 18:32:02 +01:00
committed by GitHub

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: