summaryrefslogtreecommitdiffstats
path: root/boost
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-08-23 10:23:35 +0300
committerTor Lillqvist <tml@iki.fi>2013-08-23 10:23:41 +0300
commit45ef1eda9e8851d454237d91b7fc46299fd621eb (patch)
tree88d065e9d587e3cc0e10a5e26b73f669753a8ec7 /boost
parentUpdate the bundled boost to 1.54 (diff)
downloadcore-45ef1eda9e8851d454237d91b7fc46299fd621eb.tar.gz
core-45ef1eda9e8851d454237d91b7fc46299fd621eb.zip
WaE: __PDP_ENDIAN is not defined
Change-Id: I45d454a0457a7da43be3426ee3007c0aec28c635
Diffstat (limited to 'boost')
-rw-r--r--boost/boost.wundef.patch11
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__) || \