[Libreoffice-commits] core.git: boost/boost.wundef.patch

Tor Lillqvist tml at iki.fi
Fri Aug 23 00:24:48 PDT 2013


 boost/boost.wundef.patch |   11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

New commits:
commit 45ef1eda9e8851d454237d91b7fc46299fd621eb
Author: Tor Lillqvist <tml at iki.fi>
Date:   Fri Aug 23 10:23:35 2013 +0300

    WaE: __PDP_ENDIAN is not defined
    
    Change-Id: I45d454a0457a7da43be3426ee3007c0aec28c635

diff --git a/boost/boost.wundef.patch b/boost/boost.wundef.patch
index 127d78b..6dbfb4a 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__) || \


More information about the Libreoffice-commits mailing list