mirror of
https://github.com/boostorg/predef.git
synced 2025-07-29 19:47:12 +02:00
Add detection for macros used by VC: _M_IX86; little-endian. _M_IA64; little-endian, as this is the default on I64 and AMD64 is only little endian. _M_ALPHA; little-endian, as again it's the default and Windows doesn't run on big-endian Alpha anyway AFAIK.
[SVN r30185]
This commit is contained in:
@ -45,7 +45,9 @@
|
||||
# define BOOST_BIG_ENDIAN
|
||||
# define BOOST_BYTE_ORDER 4321
|
||||
#elif defined(__i386__) || defined(__alpha__) \
|
||||
|| defined(__ia64) || defined(__ia64__)
|
||||
|| defined(__ia64) || defined(__ia64__) \
|
||||
|| defined(_M_IX86) || defined(_M_IA64) \
|
||||
|| defined(_M_ALPHA)
|
||||
# define BOOST_LITTLE_ENDIAN
|
||||
# define BOOST_BYTE_ORDER 1234
|
||||
#else
|
||||
|
Reference in New Issue
Block a user