From 7ac116915ce23864ca73162d062c9db82db515a4 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sun, 5 Jan 2020 01:07:15 +0200 Subject: [PATCH] __i386__ and __x86_64__ are little-endian (g++ 4.4 unfortunately has no other endianness macros) --- include/boost/endian/detail/order.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/endian/detail/order.hpp b/include/boost/endian/detail/order.hpp index f24fab6..ddf4c9c 100644 --- a/include/boost/endian/detail/order.hpp +++ b/include/boost/endian/detail/order.hpp @@ -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