endian.hpp 560 B

123456789101112131415161718192021
  1. // Copyright (c) 2001-2011 Hartmut Kaiser
  2. // http://spirit.sourceforge.net/
  3. //
  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)
  6. #ifndef BOOST_SPIRIT_SUPPORT_DETAIL_ENDIAN_HPP
  7. #define BOOST_SPIRIT_SUPPORT_DETAIL_ENDIAN_HPP
  8. #if defined(_MSC_VER)
  9. #pragma once
  10. #endif
  11. // We need to treat the endian number types as PODs
  12. #if !defined(BOOST_ENDIAN_FORCE_PODNESS)
  13. #define BOOST_ENDIAN_FORCE_PODNESS 1
  14. #endif
  15. #include <boost/endian/arithmetic.hpp>
  16. #endif