fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / boost / boost.predef.Wundef.warnings.patch
blob81e8e2372ec45b2735bd2c5198eceba1d5b1b831
1 --- foo/foo/foo/boost/predef/other/endian.h
2 +++ foo/foo/foo/boost/predef/other/endian.h
3 @@ -77,7 +77,7 @@
4 # undef BOOST_ENDIAN_LITTLE_BYTE
5 # define BOOST_ENDIAN_LITTLE_BYTE BOOST_VERSION_NUMBER_AVAILABLE
6 # endif
7 -# if (__BYTE_ORDER == __PDP_ENDIAN)
8 +# if defined(__PDP_ENDIAN) && (__BYTE_ORDER == __PDP_ENDIAN)
9 # undef BOOST_ENDIAN_LITTLE_WORD
10 # define BOOST_ENDIAN_LITTLE_WORD BOOST_VERSION_NUMBER_AVAILABLE
11 # endif