|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r68091 - branches/release/boost/detail
From: john_at_[hidden]
Date: 2011-01-13 06:28:36
Author: johnmaddock
Date: 2011-01-13 06:28:34 EST (Thu, 13 Jan 2011)
New Revision: 68091
URL: http://svn.boost.org/trac/boost/changeset/68091
Log:
Merge STLPort endian detection to release.
Text files modified:
branches/release/boost/detail/endian.hpp | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
Modified: branches/release/boost/detail/endian.hpp
==============================================================================
--- branches/release/boost/detail/endian.hpp (original)
+++ branches/release/boost/detail/endian.hpp 2011-01-13 06:28:34 EST (Thu, 13 Jan 2011)
@@ -44,11 +44,13 @@
# endif
# define BOOST_BYTE_ORDER __BYTE_ORDER
#elif defined(_BIG_ENDIAN) && !defined(_LITTLE_ENDIAN) || \
- defined(__BIG_ENDIAN__) && !defined(__LITTLE_ENDIAN__)
+ defined(__BIG_ENDIAN__) && !defined(__LITTLE_ENDIAN__) || \
+ defined(_STLP_BIG_ENDIAN) && !defined(_STLP_LITTLE_ENDIAN)
# define BOOST_BIG_ENDIAN
# define BOOST_BYTE_ORDER 4321
#elif defined(_LITTLE_ENDIAN) && !defined(_BIG_ENDIAN) || \
- defined(__LITTLE_ENDIAN__) && !defined(__BIG_ENDIAN__)
+ defined(__LITTLE_ENDIAN__) && !defined(__BIG_ENDIAN__) || \
+ defined(_STLP_LITTLE_ENDIAN) && !defined(_STLP_BIG_ENDIAN)
# define BOOST_LITTLE_ENDIAN
# define BOOST_BYTE_ORDER 1234
#elif defined(__sparc) || defined(__sparc__) \
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk