1 // Copyright (c) 2001-2011 Hartmut Kaiser
2 // http://spirit.sourceforge.net/
4 // Distributed under the Boost Software License, Version 1.0. (See accompanying
5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 #if !defined(SPIRIT_ENDIAN_MAR_21_2009_0349PM)
8 #define SPIRIT_ENDIAN_MAR_21_2009_0349PM
14 #include <boost/version.hpp>
16 // We need to treat the endian number types as PODs
17 #if !defined(BOOST_ENDIAN_FORCE_PODNESS)
18 #define BOOST_ENDIAN_FORCE_PODNESS 1
21 // If Boost has the endian library, use it, otherwise use an adapted version
22 // included with Spirit
23 // #if BOOST_VERSION >= 105100
24 // #include <boost/endian/integers.hpp>
26 #include <boost/spirit/home/support/detail/endian/endian.hpp>