Files
libreoffice/external/boost/boost.predef.Wundef.warnings.patch
Michael Stahl c0def0a41f boost: split boost.wundef.patch
Change-Id: I16c2235dd72f86b7659d92aa1c72b573ccadacb7
2014-04-14 17:42:27 +02:00

12 lines
487 B
Diff

--- foo/foo/foo/boost/predef/other/endian.h
+++ foo/foo/foo/boost/predef/other/endian.h
@@ -77,7 +77,7 @@
# undef BOOST_ENDIAN_LITTLE_BYTE
# define BOOST_ENDIAN_LITTLE_BYTE BOOST_VERSION_NUMBER_AVAILABLE
# endif
-# if (__BYTE_ORDER == __PDP_ENDIAN)
+# if defined(__PDP_ENDIAN) && (__BYTE_ORDER == __PDP_ENDIAN)
# undef BOOST_ENDIAN_LITTLE_WORD
# define BOOST_ENDIAN_LITTLE_WORD BOOST_VERSION_NUMBER_AVAILABLE
# endif