diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-08-23 10:23:35 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-08-23 10:23:41 +0300 |
commit | 45ef1eda9e8851d454237d91b7fc46299fd621eb (patch) | |
tree | 88d065e9d587e3cc0e10a5e26b73f669753a8ec7 /boost | |
parent | 4910c54a39703d19f5e36fa9c47938c1033f91e9 (diff) |
WaE: __PDP_ENDIAN is not defined
Change-Id: I45d454a0457a7da43be3426ee3007c0aec28c635
Diffstat (limited to 'boost')
-rw-r--r-- | boost/boost.wundef.patch | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/boost/boost.wundef.patch b/boost/boost.wundef.patch index 127d78b1bf6b..6dbfb4ad7aec 100644 --- a/boost/boost.wundef.patch +++ b/boost/boost.wundef.patch @@ -1,6 +1,15 @@ --- foo/foo/foo/boost/detail/endian.hpp +++ foo/foo/foo/boost/detail/endian.hpp -@@ -47,7 +47,7 @@ +@@ -47,15 +47,15 @@ + # define BOOST_LITTLE_ENDIAN + # elif (__BYTE_ORDER == __BIG_ENDIAN) + # define BOOST_BIG_ENDIAN +-# elif (__BYTE_ORDER == __PDP_ENDIAN) ++# elif defined(__PDP_ENDIAN) && (__BYTE_ORDER == __PDP_ENDIAN) + # define BOOST_PDP_ENDIAN + # else + # error Unknown machine endianness detected. + # endif # define BOOST_BYTE_ORDER __BYTE_ORDER #elif defined(__NetBSD__) || defined(__FreeBSD__) || \ |