mirror of
https://github.com/yuzu-emu/ext-boost.git
synced 2024-12-23 04:35:29 +00:00
db95c7fe31
Keeps the boost libraries up to date. This also silences informational messages that get spammed throughout the build, such as: "Info: Boost.Config is older than your compiler version - probably nothing bad will happen - but you may wish to look for an update Boost version. Define BOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE to suppress this message." Which makes the compilation process a lot less noisy on Windows. It's now much easier to actually spot warnings that occur.
38 lines
1.1 KiB
C++
38 lines
1.1 KiB
C++
#ifndef BOOST_CONFIG_HELPER_MACROS_HPP_INCLUDED
|
|
#define BOOST_CONFIG_HELPER_MACROS_HPP_INCLUDED
|
|
|
|
// Copyright 2001 John Maddock.
|
|
// Copyright 2017 Peter Dimov.
|
|
//
|
|
// 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
|
|
//
|
|
// BOOST_STRINGIZE(X)
|
|
// BOOST_JOIN(X, Y)
|
|
//
|
|
// Note that this header is C compatible.
|
|
|
|
//
|
|
// Helper macro BOOST_STRINGIZE:
|
|
// Converts the parameter X to a string after macro replacement
|
|
// on X has been performed.
|
|
//
|
|
#define BOOST_STRINGIZE(X) BOOST_DO_STRINGIZE(X)
|
|
#define BOOST_DO_STRINGIZE(X) #X
|
|
|
|
//
|
|
// Helper macro BOOST_JOIN:
|
|
// The following piece of macro magic joins the two
|
|
// arguments together, even when one of the arguments is
|
|
// itself a macro (see 16.3.1 in C++ standard). The key
|
|
// is that macro expansion of macro arguments does not
|
|
// occur in BOOST_DO_JOIN2 but does in BOOST_DO_JOIN.
|
|
//
|
|
#define BOOST_JOIN(X, Y) BOOST_DO_JOIN(X, Y)
|
|
#define BOOST_DO_JOIN(X, Y) BOOST_DO_JOIN2(X,Y)
|
|
#define BOOST_DO_JOIN2(X, Y) X##Y
|
|
|
|
#endif // BOOST_CONFIG_HELPER_MACROS_HPP_INCLUDED
|