diff options
Diffstat (limited to 'boost/boost.wundef.patch')
-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__) || \ |