Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50676 - branches/release/boost/detail
From: bdawes_at_[hidden]
Date: 2009-01-19 13:56:42


Author: bemandawes
Date: 2009-01-19 13:56:42 EST (Mon, 19 Jan 2009)
New Revision: 50676
URL: http://svn.boost.org/trac/boost/changeset/50676

Log:
Merge from trunk
Text files modified:
   branches/release/boost/detail/endian.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: branches/release/boost/detail/endian.hpp
==============================================================================
--- branches/release/boost/detail/endian.hpp (original)
+++ branches/release/boost/detail/endian.hpp 2009-01-19 13:56:42 EST (Mon, 19 Jan 2009)
@@ -42,10 +42,10 @@
 # error Unknown machine endianness detected.
 # endif
 # define BOOST_BYTE_ORDER __BYTE_ORDER
-#elif defined(_BIG_ENDIAN)
+#elif defined(_BIG_ENDIAN) && !defined(_LITTLE_ENDIAN)
 # define BOOST_BIG_ENDIAN
 # define BOOST_BYTE_ORDER 4321
-#elif defined(_LITTLE_ENDIAN)
+#elif defined(_LITTLE_ENDIAN) && !defined(_BIG_ENDIAN)
 # define BOOST_LITTLE_ENDIAN
 # define BOOST_BYTE_ORDER 1234
 #elif defined(__sparc) || defined(__sparc__) \
@@ -61,7 +61,7 @@
    || defined(_M_ALPHA) || defined(__amd64) \
    || defined(__amd64__) || defined(_M_AMD64) \
    || defined(__x86_64) || defined(__x86_64__) \
- || defined(_M_X64)
+ || defined(_M_X64) || defined(__bfin__)
 
 # define BOOST_LITTLE_ENDIAN
 # define BOOST_BYTE_ORDER 1234


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