2 Copyright Redshift Software, Inc. 2013
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at
5 http://www.boost.org/LICENSE_1_0.txt)
8 #ifndef BOOST_PREDEF_DETAIL_ENDIAN_COMPAT_H
9 #define BOOST_PREDEF_DETAIL_ENDIAN_COMPAT_H
11 #include <boost/predef/other/endian.h>
13 #if BOOST_ENDIAN_BIG_BYTE
14 # define BOOST_BIG_ENDIAN
15 # define BOOST_BYTE_ORDER 4321
17 #if BOOST_ENDIAN_LITTLE_BYTE
18 # define BOOST_LITTLE_ENDIAN
19 # define BOOST_BYTE_ORDER 1234
21 #if BOOST_ENDIAN_LITTLE_WORD
22 # define BOOST_PDP_ENDIAN
23 # define BOOST_BYTE_ORDER 2134