1 /* 2 Copyright Rene Rivera 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) 6 */ 7 8 #ifndef BOOST_PREDEF_DETAIL_ENDIAN_COMPAT_H 9 #define BOOST_PREDEF_DETAIL_ENDIAN_COMPAT_H 10 11 #include <boost/predef/other/endian.h> 12 13 #if BOOST_ENDIAN_BIG_BYTE 14 # define BOOST_BIG_ENDIAN 15 # define BOOST_BYTE_ORDER 4321 16 #endif 17 #if BOOST_ENDIAN_LITTLE_BYTE 18 # define BOOST_LITTLE_ENDIAN 19 # define BOOST_BYTE_ORDER 1234 20 #endif 21 #if BOOST_ENDIAN_LITTLE_WORD 22 # define BOOST_PDP_ENDIAN 23 # define BOOST_BYTE_ORDER 2134 24 #endif 25 26 #endif 27