 |
Boost.Locale
|
7#ifndef BOOST_LOCALE_CONFIG_HPP_INCLUDED
8#define BOOST_LOCALE_CONFIG_HPP_INCLUDED
10#include <boost/config.hpp>
12#if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_LOCALE_DYN_LINK)
13# ifdef BOOST_LOCALE_SOURCE
14# define BOOST_LOCALE_DECL BOOST_SYMBOL_EXPORT
16# define BOOST_LOCALE_DECL BOOST_SYMBOL_IMPORT
19# define BOOST_LOCALE_DECL
25#if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_LOCALE_NO_LIB) && !defined(BOOST_LOCALE_SOURCE)
30# define BOOST_LIB_NAME boost_locale
34# if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_LOCALE_DYN_LINK)
35# define BOOST_DYN_LINK
40# include <boost/config/auto_link.hpp>
46#if defined(BOOST_NO_CXX11_DEFAULTED_FUNCTIONS) || \
47 defined(BOOST_NO_CXX11_DEFAULTED_MOVES) || \
48 defined(BOOST_NO_CXX11_HDR_FUNCTIONAL) || \
49 defined(BOOST_NO_CXX11_HDR_TYPE_TRAITS) || \
50 defined(BOOST_NO_CXX11_NOEXCEPT) || \
51 defined(BOOST_NO_CXX11_OVERRIDE) || \
52 defined(BOOST_NO_CXX11_RVALUE_REFERENCES) || \
53 defined(BOOST_NO_CXX11_SMART_PTR) || \
54 defined(BOOST_NO_CXX11_STATIC_ASSERT)
56# error "Boost.Locale requires C++11 since Boost 1.81."
61# define BOOST_LOCALE_START_CONST_CONDITION __pragma(warning(push)) __pragma(warning(disable : 4127))
62# define BOOST_LOCALE_END_CONST_CONDITION __pragma(warning(pop))
64# define BOOST_LOCALE_START_CONST_CONDITION
65# define BOOST_LOCALE_END_CONST_CONDITION
69#if defined(BOOST_WINDOWS) || defined(__CYGWIN__)
71# define BOOST_LOCALE_USE_WIN32_API 1
73# define BOOST_LOCALE_USE_WIN32_API 0
77#if defined(__clang__) && defined(__has_attribute)
78# if __has_attribute(no_sanitize)
79# define BOOST_LOCALE_NO_SANITIZE(what) __attribute__((no_sanitize(what)))
82#if !defined(BOOST_LOCALE_NO_SANITIZE)
83# define BOOST_LOCALE_NO_SANITIZE(what)