From 982f209ccd9894538f4c2348a1b23bcd5b8d5b9f Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Tue, 25 Nov 2003 18:28:08 +0000 Subject: [PATCH] initial commit [SVN r20946] --- include/boost/config/abi_prefix.hpp | 20 ++++++++++++++++++++ include/boost/config/abi_suffix.hpp | 23 +++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 include/boost/config/abi_prefix.hpp create mode 100644 include/boost/config/abi_suffix.hpp diff --git a/include/boost/config/abi_prefix.hpp b/include/boost/config/abi_prefix.hpp new file mode 100644 index 00000000..1733dc03 --- /dev/null +++ b/include/boost/config/abi_prefix.hpp @@ -0,0 +1,20 @@ +// abi_prefix header -------------------------------------------------------// + +// © Copyright John Maddock 2003 + +// Use, modification and distribution are subject to 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). + +#ifndef BOOST_CONFIG_ABI_PREFIX_HPP +# define BOOST_CONFIG_ABI_PREFIX_HPP +#else +# error double inclusion of header boost/config/abi_prefix.hpp is an error +#endif + +#include + +// this must occur after all other includes and before any code appears: +#ifdef BOOST_HAS_ABI_HEADERS +# include BOOST_ABI_PREFIX +#endif diff --git a/include/boost/config/abi_suffix.hpp b/include/boost/config/abi_suffix.hpp new file mode 100644 index 00000000..6339da63 --- /dev/null +++ b/include/boost/config/abi_suffix.hpp @@ -0,0 +1,23 @@ +// abi_sufffix header -------------------------------------------------------// + +// © Copyright John Maddock 2003 + +// Use, modification and distribution are subject to 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). + +// This header should be #included AFTER code that was preceded by a #include +// . + +#ifndef BOOST_CONFIG_ABI_PREFIX_HPP +# error Header boost/config/abi_prefix.hpp must only be used after boost/config/abi_prefix.hpp +#else +# undef BOOST_CONFIG_ABI_PREFIX_HPP +#endif + +// the suffix header occurs after all of our code: +#ifdef BOOST_HAS_ABI_HEADERS +# include BOOST_ABI_SUFFIX +#endif + +