Go to the documentation of this file. 9 #ifndef BOOST_NOWIDE_CONFIG_HPP_INCLUDED 10 #define BOOST_NOWIDE_CONFIG_HPP_INCLUDED 14 #include <boost/config.hpp> 16 #include <boost/version.hpp> 20 #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_NOWIDE_DYN_LINK) 21 #ifdef BOOST_NOWIDE_SOURCE 22 #define BOOST_NOWIDE_DECL BOOST_SYMBOL_EXPORT 24 #define BOOST_NOWIDE_DECL BOOST_SYMBOL_IMPORT 25 #endif // BOOST_NOWIDE_SOURCE 27 #define BOOST_NOWIDE_DECL 28 #endif // BOOST_NOWIDE_DYN_LINK 33 #if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_NOWIDE_NO_LIB) && !defined(BOOST_NOWIDE_SOURCE) 38 #define BOOST_LIB_NAME boost_nowide 42 #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_NOWIDE_DYN_LINK) 43 #define BOOST_DYN_LINK 48 #include <boost/config/auto_link.hpp> 49 #endif // auto-linking disabled 56 #if defined(BOOST_WINDOWS) || defined(__CYGWIN__) 57 #define BOOST_NOWIDE_USE_WCHAR_OVERLOADS 1 59 #define BOOST_NOWIDE_USE_WCHAR_OVERLOADS 0 71 #if defined(BOOST_WINDOWS) || BOOST_NOWIDE_USE_WCHAR_OVERLOADS 72 #ifdef BOOST_NOWIDE_USE_FILEBUF_REPLACEMENT 73 #undef BOOST_NOWIDE_USE_FILEBUF_REPLACEMENT 75 #define BOOST_NOWIDE_USE_FILEBUF_REPLACEMENT 1 76 #elif !defined(BOOST_NOWIDE_USE_FILEBUF_REPLACEMENT) 77 #define BOOST_NOWIDE_USE_FILEBUF_REPLACEMENT 0 82 #if BOOST_VERSION < 106500 && defined(BOOST_GCC) && __GNUC__ >= 7 83 #define BOOST_NOWIDE_FALLTHROUGH __attribute__((fallthrough)) 85 #define BOOST_NOWIDE_FALLTHROUGH BOOST_FALLTHROUGH 90 #if(__cplusplus >= 201103L || (defined(BOOST_MSVC) && BOOST_MSVC >= 1900)) \ 91 && (!defined(BOOST_LIBSTDCXX_VERSION) || BOOST_LIBSTDCXX_VERSION >= 50000) 92 #define BOOST_NOWIDE_CXX11 1 94 #define BOOST_NOWIDE_CXX11 0 109 #endif // boost/nowide/config.hpp