mirror of
https://github.com/microsoft/terminal.git
synced 2025-12-19 18:11:39 -05:00
In my #8489 we want to use boost's small_vector type, but that PR is kinda messy by adding boost and also making a meaningful change. So here I'm splitting out the boost addition to its own PR so that one can be more focused on the allocation improvement and consumption of boost.
68 lines
2.2 KiB
C++
68 lines
2.2 KiB
C++
// Boost config.hpp configuration header file ------------------------------//
|
|
|
|
// (C) Copyright John Maddock 2002.
|
|
// 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)
|
|
|
|
// See http://www.boost.org/libs/config for most recent version.
|
|
|
|
// Boost config.hpp policy and rationale documentation has been moved to
|
|
// http://www.boost.org/libs/config
|
|
//
|
|
// CAUTION: This file is intended to be completely stable -
|
|
// DO NOT MODIFY THIS FILE!
|
|
//
|
|
|
|
#ifndef BOOST_CONFIG_HPP
|
|
#define BOOST_CONFIG_HPP
|
|
|
|
// if we don't have a user config, then use the default location:
|
|
#if !defined(BOOST_USER_CONFIG) && !defined(BOOST_NO_USER_CONFIG)
|
|
# define BOOST_USER_CONFIG <boost/config/user.hpp>
|
|
#if 0
|
|
// For dependency trackers:
|
|
# include <boost/config/user.hpp>
|
|
#endif
|
|
#endif
|
|
// include it first:
|
|
#ifdef BOOST_USER_CONFIG
|
|
# include BOOST_USER_CONFIG
|
|
#endif
|
|
|
|
// if we don't have a compiler config set, try and find one:
|
|
#if !defined(BOOST_COMPILER_CONFIG) && !defined(BOOST_NO_COMPILER_CONFIG) && !defined(BOOST_NO_CONFIG)
|
|
# include <boost/config/detail/select_compiler_config.hpp>
|
|
#endif
|
|
// if we have a compiler config, include it now:
|
|
#ifdef BOOST_COMPILER_CONFIG
|
|
# include BOOST_COMPILER_CONFIG
|
|
#endif
|
|
|
|
// if we don't have a std library config set, try and find one:
|
|
#if !defined(BOOST_STDLIB_CONFIG) && !defined(BOOST_NO_STDLIB_CONFIG) && !defined(BOOST_NO_CONFIG) && defined(__cplusplus)
|
|
# include <boost/config/detail/select_stdlib_config.hpp>
|
|
#endif
|
|
// if we have a std library config, include it now:
|
|
#ifdef BOOST_STDLIB_CONFIG
|
|
# include BOOST_STDLIB_CONFIG
|
|
#endif
|
|
|
|
// if we don't have a platform config set, try and find one:
|
|
#if !defined(BOOST_PLATFORM_CONFIG) && !defined(BOOST_NO_PLATFORM_CONFIG) && !defined(BOOST_NO_CONFIG)
|
|
# include <boost/config/detail/select_platform_config.hpp>
|
|
#endif
|
|
// if we have a platform config, include it now:
|
|
#ifdef BOOST_PLATFORM_CONFIG
|
|
# include BOOST_PLATFORM_CONFIG
|
|
#endif
|
|
|
|
// get config suffix code:
|
|
#include <boost/config/detail/suffix.hpp>
|
|
|
|
#ifdef BOOST_HAS_PRAGMA_ONCE
|
|
#pragma once
|
|
#endif
|
|
|
|
#endif // BOOST_CONFIG_HPP
|