__i386__ and __x86_64__ are little-endian (g++ 4.4 unfortunately has no other endianness macros)

This commit is contained in:
Peter Dimov
2020-01-05 01:07:15 +02:00
parent 1330d0f3c4
commit 7ac116915c

View File

@ -28,7 +28,7 @@
# define BOOST_ENDIAN_NATIVE_ORDER_INITIALIZER big
#elif defined(_MSC_VER)
#elif defined(_MSC_VER) || defined(__i386__) || defined(__x86_64__)
# define BOOST_ENDIAN_NATIVE_ORDER_INITIALIZER little