forked from boostorg/endian
__i386__ and __x86_64__ are little-endian (g++ 4.4 unfortunately has no other endianness macros)
This commit is contained in:
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
# define BOOST_ENDIAN_NATIVE_ORDER_INITIALIZER big
|
# 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
|
# define BOOST_ENDIAN_NATIVE_ORDER_INITIALIZER little
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user