Brian Silverman | 9d8fa39 | 2018-08-04 17:09:24 -0700 | [diff] [blame^] | 1 | // Boost config.hpp configuration header file ------------------------------// |
| 2 | |
| 3 | // (C) Copyright John Maddock 2002. |
| 4 | // Use, modification and distribution are subject to the |
| 5 | // Boost Software License, Version 1.0. (See accompanying file |
| 6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 7 | |
| 8 | // See http://www.boost.org/libs/config for most recent version. |
| 9 | |
| 10 | // Boost config.hpp policy and rationale documentation has been moved to |
| 11 | // http://www.boost.org/libs/config |
| 12 | // |
| 13 | // CAUTION: This file is intended to be completely stable - |
| 14 | // DO NOT MODIFY THIS FILE! |
| 15 | // |
| 16 | |
| 17 | #ifndef BOOST_CONFIG_HPP |
| 18 | #define BOOST_CONFIG_HPP |
| 19 | |
| 20 | // if we don't have a user config, then use the default location: |
| 21 | #if !defined(BOOST_USER_CONFIG) && !defined(BOOST_NO_USER_CONFIG) |
| 22 | # define BOOST_USER_CONFIG <boost/config/user.hpp> |
| 23 | #if 0 |
| 24 | // For dependency trackers: |
| 25 | # include <boost/config/user.hpp> |
| 26 | #endif |
| 27 | #endif |
| 28 | // include it first: |
| 29 | #ifdef BOOST_USER_CONFIG |
| 30 | # include BOOST_USER_CONFIG |
| 31 | #endif |
| 32 | |
| 33 | // if we don't have a compiler config set, try and find one: |
| 34 | #if !defined(BOOST_COMPILER_CONFIG) && !defined(BOOST_NO_COMPILER_CONFIG) && !defined(BOOST_NO_CONFIG) |
| 35 | # include <boost/config/detail/select_compiler_config.hpp> |
| 36 | #endif |
| 37 | // if we have a compiler config, include it now: |
| 38 | #ifdef BOOST_COMPILER_CONFIG |
| 39 | # include BOOST_COMPILER_CONFIG |
| 40 | #endif |
| 41 | |
| 42 | // if we don't have a std library config set, try and find one: |
| 43 | #if !defined(BOOST_STDLIB_CONFIG) && !defined(BOOST_NO_STDLIB_CONFIG) && !defined(BOOST_NO_CONFIG) && defined(__cplusplus) |
| 44 | # include <boost/config/detail/select_stdlib_config.hpp> |
| 45 | #endif |
| 46 | // if we have a std library config, include it now: |
| 47 | #ifdef BOOST_STDLIB_CONFIG |
| 48 | # include BOOST_STDLIB_CONFIG |
| 49 | #endif |
| 50 | |
| 51 | // if we don't have a platform config set, try and find one: |
| 52 | #if !defined(BOOST_PLATFORM_CONFIG) && !defined(BOOST_NO_PLATFORM_CONFIG) && !defined(BOOST_NO_CONFIG) |
| 53 | # include <boost/config/detail/select_platform_config.hpp> |
| 54 | #endif |
| 55 | // if we have a platform config, include it now: |
| 56 | #ifdef BOOST_PLATFORM_CONFIG |
| 57 | # include BOOST_PLATFORM_CONFIG |
| 58 | #endif |
| 59 | |
| 60 | // get config suffix code: |
| 61 | #include <boost/config/detail/suffix.hpp> |
| 62 | |
| 63 | #ifdef BOOST_HAS_PRAGMA_ONCE |
| 64 | #pragma once |
| 65 | #endif |
| 66 | |
| 67 | #endif // BOOST_CONFIG_HPP |