config.hpp 1.0 KB

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