mirror of
https://github.com/boostorg/predef.git
synced 2025-07-29 19:47:12 +02:00
Updated patch from Boris Gubenko.
[SVN r35672]
This commit is contained in:
committed by
Peter Dimov
parent
4009514a0d
commit
d01035df48
@ -37,6 +37,12 @@
|
||||
# error Unknown machine endianness detected.
|
||||
# endif
|
||||
# define BOOST_BYTE_ORDER __BYTE_ORDER
|
||||
#elif defined(_BIG_ENDIAN)
|
||||
# define BOOST_BIG_ENDIAN
|
||||
# define BOOST_BYTE_ORDER 4321
|
||||
#elif defined(_LITTLE_ENDIAN)
|
||||
# define BOOST_LITTLE_ENDIAN
|
||||
# define BOOST_BYTE_ORDER 1234
|
||||
#elif defined(__sparc) || defined(__sparc__) \
|
||||
|| defined(_POWER) || defined(__powerpc__) \
|
||||
|| defined(__ppc__) || defined(__hpux) \
|
||||
|
Reference in New Issue
Block a user