]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/predef/detail/endian_compat.h
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)
8 #ifndef BOOST_PREDEF_DETAIL_ENDIAN_COMPAT_H
9 #define BOOST_PREDEF_DETAIL_ENDIAN_COMPAT_H
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" )
13 #include <boost/predef/other/endian.h>
15 #if BOOST_ENDIAN_BIG_BYTE
16 # define BOOST_BIG_ENDIAN
17 # define BOOST_BYTE_ORDER 4321
19 #if BOOST_ENDIAN_LITTLE_BYTE
20 # define BOOST_LITTLE_ENDIAN
21 # define BOOST_BYTE_ORDER 1234
23 #if BOOST_ENDIAN_LITTLE_WORD
24 # define BOOST_PDP_ENDIAN
25 # define BOOST_BYTE_ORDER 2134