Boost logo

Boost :

From: Stephan Tolksdorf (andorxor_at_[hidden])
Date: 2006-09-23 05:36:53


Hi,

_M_X64 (MSVC typedef for AMD64/Intel EM64T) is missing from the list of
little endian platforms in detail/endian.hpp. Could someone please apply
the attached patch?

Regards,
   Stephan

Index: boost/detail/endian.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/detail/endian.hpp,v
retrieving revision 1.2
diff -u -r1.2 endian.hpp
--- boost/detail/endian.hpp 19 Jul 2005 23:44:52 -0000 1.2
+++ boost/detail/endian.hpp 22 Sep 2006 16:52:29 -0000
@@ -47,7 +47,7 @@
 #elif defined(__i386__) || defined(__alpha__) \
    || defined(__ia64) || defined(__ia64__) \
    || defined(_M_IX86) || defined(_M_IA64) \
- || defined(_M_ALPHA)
+ || defined(_M_ALPHA) || defined(_M_X64)
 # define BOOST_LITTLE_ENDIAN
 # define BOOST_BYTE_ORDER 1234
 #else


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk