mirror of
https://github.com/boostorg/system.git
synced 2025-07-31 13:07:13 +02:00
Remove autolink
This commit is contained in:
@ -7,15 +7,16 @@
|
|||||||
|
|
||||||
// See http://www.boost.org/libs/system for documentation.
|
// See http://www.boost.org/libs/system for documentation.
|
||||||
|
|
||||||
#ifndef BOOST_SYSTEM_CONFIG_HPP
|
#ifndef BOOST_SYSTEM_CONFIG_HPP
|
||||||
#define BOOST_SYSTEM_CONFIG_HPP
|
#define BOOST_SYSTEM_CONFIG_HPP
|
||||||
|
|
||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
#include <boost/predef/platform.h>
|
|
||||||
#include <boost/system/api_config.hpp> // for BOOST_POSIX_API or BOOST_WINDOWS_API
|
#include <boost/system/api_config.hpp> // for BOOST_POSIX_API or BOOST_WINDOWS_API
|
||||||
|
|
||||||
// This header implements separate compilation features as described in
|
// This header implemented separate compilation features as described in
|
||||||
// http://www.boost.org/more/separate_compilation.html
|
// http://www.boost.org/more/separate_compilation.html
|
||||||
|
//
|
||||||
|
// It's only retained for compatibility now that the library is header-only.
|
||||||
|
|
||||||
// normalize macros ------------------------------------------------------------------//
|
// normalize macros ------------------------------------------------------------------//
|
||||||
|
|
||||||
@ -46,25 +47,4 @@
|
|||||||
# define BOOST_SYSTEM_DECL
|
# define BOOST_SYSTEM_DECL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// enable automatic library variant selection ----------------------------------------//
|
|
||||||
|
|
||||||
#if !defined(BOOST_SYSTEM_SOURCE) && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_SYSTEM_NO_LIB)
|
|
||||||
//
|
|
||||||
// Set the name of our library, this will get undef'ed by auto_link.hpp
|
|
||||||
// once it's done with it:
|
|
||||||
//
|
|
||||||
#define BOOST_LIB_NAME boost_system
|
|
||||||
//
|
|
||||||
// If we're importing code from a dll, then tell auto_link.hpp about it:
|
|
||||||
//
|
|
||||||
#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SYSTEM_DYN_LINK)
|
|
||||||
# define BOOST_DYN_LINK
|
|
||||||
#endif
|
|
||||||
//
|
|
||||||
// And include the header that does the work:
|
|
||||||
//
|
|
||||||
#include <boost/config/auto_link.hpp>
|
|
||||||
#endif // auto-linking disabled
|
|
||||||
|
|
||||||
#endif // BOOST_SYSTEM_CONFIG_HPP
|
#endif // BOOST_SYSTEM_CONFIG_HPP
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user