Kaydet (Commit) 45ef1eda authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: __PDP_ENDIAN is not defined

Change-Id: I45d454a0457a7da43be3426ee3007c0aec28c635
üst 4910c54a
--- foo/foo/foo/boost/detail/endian.hpp --- foo/foo/foo/boost/detail/endian.hpp
+++ 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 # define BOOST_BYTE_ORDER __BYTE_ORDER
#elif defined(__NetBSD__) || defined(__FreeBSD__) || \ #elif defined(__NetBSD__) || defined(__FreeBSD__) || \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment