Add endian.h header for byte order detection. Ensure that headers can be

included individually.
This commit is contained in:
Rene Rivera
2013-03-18 23:06:06 -05:00
parent 9fcecba7cc
commit 99ed654ccd
34 changed files with 228 additions and 44 deletions
+4 -28
View File
@@ -1,5 +1,5 @@
/*
Copyright Redshift Software, Inc. 2008-2012
Copyright Redshift Software, Inc. 2008-2013
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
@@ -7,41 +7,17 @@ http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_PREDEF_LIBRARY_STD_H
#define BOOST_PREDEF_LIBRARY_STD_H
/*
We need to include an STD header to gives us the context
of which library we are using. The "smallest" code-wise header
seems to be <exception>. Boost uses <utility> but as far
as I can tell (RR) it's not a standalone header in most
implementations. Using <exception> also has the benefit of
being available in EC++, so we get a chance to make this work
for embedded users. And since it's not a header impacted by TR1
there's no magic needed for inclusion in the face of the
Boost.TR1 library.
*/
#include <boost/predef/detail/_exception.h>
#include <boost/predef/library/std/_prefix.h>
/*
STLPort library; this _must_ come first, otherwise since
STLport typically sits on top of some other library, we
can end up detecting that first rather than STLport:
*/
#include <boost/predef/library/std/stlport.h>
/*
The rest in alpha order, except for Dinkumware.
*/
#include <boost/predef/library/std/cxx.h>
#include <boost/predef/library/std/dinkumware.h>
#include <boost/predef/library/std/libcomo.h>
#include <boost/predef/library/std/modena.h>
#include <boost/predef/library/std/msl.h>
#include <boost/predef/library/std/roguewave.h>
#include <boost/predef/library/std/sgi.h>
#include <boost/predef/library/std/stdcpp3.h>
#include <boost/predef/library/std/stlport.h>
#include <boost/predef/library/std/vacpp.h>
/*
Dinkumware Library (this has to appear after any possible replacement libraries):
*/
#include <boost/predef/library/std/dinkumware.h>
#endif