comparison DEPENDENCIES/generic/include/boost/predef/detail/endian_compat.h @ 16:2665513ce2d3

Add boost headers
author Chris Cannam
date Tue, 05 Aug 2014 11:11:38 +0100
parents
children c530137014c0
comparison
equal deleted inserted replaced
15:663ca0da4350 16:2665513ce2d3
1 /*
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)
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