Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/spirit/home/support/detail/endian.hpp @ 133:4acb5d8d80b6 tip
Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author | Chris Cannam |
---|---|
date | Tue, 30 Jul 2019 12:25:44 +0100 |
parents | c530137014c0 |
children |
rev | line source |
---|---|
Chris@16 | 1 // Copyright (c) 2001-2011 Hartmut Kaiser |
Chris@16 | 2 // http://spirit.sourceforge.net/ |
Chris@16 | 3 // |
Chris@16 | 4 // Distributed under the Boost Software License, Version 1.0. (See accompanying |
Chris@16 | 5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
Chris@16 | 6 |
Chris@16 | 7 #if !defined(SPIRIT_ENDIAN_MAR_21_2009_0349PM) |
Chris@16 | 8 #define SPIRIT_ENDIAN_MAR_21_2009_0349PM |
Chris@16 | 9 |
Chris@16 | 10 #if defined(_MSC_VER) |
Chris@16 | 11 #pragma once |
Chris@16 | 12 #endif |
Chris@16 | 13 |
Chris@16 | 14 #include <boost/version.hpp> |
Chris@16 | 15 |
Chris@16 | 16 // We need to treat the endian number types as PODs |
Chris@16 | 17 #if !defined(BOOST_ENDIAN_FORCE_PODNESS) |
Chris@16 | 18 #define BOOST_ENDIAN_FORCE_PODNESS 1 |
Chris@16 | 19 #endif |
Chris@16 | 20 |
Chris@101 | 21 // If Boost has the endian library, use it, otherwise use an adapted version |
Chris@101 | 22 // included with Spirit |
Chris@101 | 23 // #if BOOST_VERSION >= 105100 |
Chris@101 | 24 // #include <boost/endian/integers.hpp> |
Chris@101 | 25 // #else |
Chris@16 | 26 #include <boost/spirit/home/support/detail/endian/endian.hpp> |
Chris@101 | 27 // #endif |
Chris@16 | 28 |
Chris@16 | 29 #endif |