Chris@16: // Copyright (c) 2001-2011 Hartmut Kaiser Chris@16: // http://spirit.sourceforge.net/ Chris@16: // Chris@16: // Distributed under the Boost Software License, Version 1.0. (See accompanying Chris@16: // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: #if !defined(SPIRIT_ENDIAN_MAR_21_2009_0349PM) Chris@16: #define SPIRIT_ENDIAN_MAR_21_2009_0349PM Chris@16: Chris@16: #if defined(_MSC_VER) Chris@16: #pragma once Chris@16: #endif Chris@16: Chris@16: #include Chris@16: Chris@16: // We need to treat the endian number types as PODs Chris@16: #if !defined(BOOST_ENDIAN_FORCE_PODNESS) Chris@16: #define BOOST_ENDIAN_FORCE_PODNESS 1 Chris@16: #endif Chris@16: Chris@101: // If Boost has the endian library, use it, otherwise use an adapted version Chris@101: // included with Spirit Chris@101: // #if BOOST_VERSION >= 105100 Chris@101: // #include Chris@101: // #else Chris@16: #include Chris@101: // #endif Chris@16: Chris@16: #endif