• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2 Copyright Rene Rivera 2013-2018
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 #pragma message("The use of BOOST_*_ENDIAN and BOOST_BYTE_ORDER is deprecated. Please include <boost/predef/other/endian.h> and use BOOST_ENDIAN_*_BYTE instead")
12 
13 #include <boost/predef/other/endian.h>
14 
15 #if BOOST_ENDIAN_BIG_BYTE
16 #   define BOOST_BIG_ENDIAN
17 #   define BOOST_BYTE_ORDER 4321
18 #endif
19 #if BOOST_ENDIAN_LITTLE_BYTE
20 #   define BOOST_LITTLE_ENDIAN
21 #   define BOOST_BYTE_ORDER 1234
22 #endif
23 #if BOOST_ENDIAN_LITTLE_WORD
24 #   define BOOST_PDP_ENDIAN
25 #   define BOOST_BYTE_ORDER 2134
26 #endif
27 
28 #endif
29