| 1 | #ifndef BOOST_CHARCONV_CONFIG_HPP_INCLUDED |
| 2 | #define BOOST_CHARCONV_CONFIG_HPP_INCLUDED |
| 3 | |
| 4 | // Copyright 2022 Peter Dimov |
| 5 | // Copyright 2023 Matt Borland |
| 6 | // Distributed under the Boost Software License, Version 1.0. |
| 7 | // https://www.boost.org/LICENSE_1_0.txt |
| 8 | |
| 9 | #include <boost/config.hpp> |
| 10 | #include <climits> |
| 11 | |
| 12 | // This header implements separate compilation features as described in |
| 13 | // http://www.boost.org/more/separate_compilation.html |
| 14 | |
| 15 | #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_CHARCONV_DYN_LINK) |
| 16 | # if defined(BOOST_CHARCONV_SOURCE) |
| 17 | # define BOOST_CHARCONV_DECL BOOST_SYMBOL_EXPORT |
| 18 | # else |
| 19 | # define BOOST_CHARCONV_DECL BOOST_SYMBOL_IMPORT |
| 20 | # endif |
| 21 | #else |
| 22 | # define BOOST_CHARCONV_DECL |
| 23 | #endif |
| 24 | |
| 25 | // Autolink |
| 26 | |
| 27 | #if !defined(BOOST_CHARCONV_SOURCE) && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_CHARCONV_NO_LIB) |
| 28 | |
| 29 | #define BOOST_LIB_NAME boost_charconv |
| 30 | |
| 31 | #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_CHARCONV_DYN_LINK) |
| 32 | # define BOOST_DYN_LINK |
| 33 | #endif |
| 34 | |
| 35 | #include <boost/config/auto_link.hpp> |
| 36 | |
| 37 | #endif |
| 38 | |
| 39 | #endif // BOOST_CHARCONV_CONFIG_HPP_INCLUDED |
| 40 | |