Chris@16: /*============================================================================= Chris@16: Boost.Wave: A Standard compliant C++ preprocessor library Chris@16: Chris@16: Global application configuration Chris@16: Chris@16: http://www.boost.org/ Chris@16: Chris@16: Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost Chris@16: Software License, Version 1.0. (See accompanying file Chris@16: LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) Chris@16: =============================================================================*/ Chris@16: Chris@16: #if !defined(WAVE_CONFIG_HPP_F143F90A_A63F_4B27_AC41_9CA4F14F538D_INCLUDED) Chris@16: #define WAVE_CONFIG_HPP_F143F90A_A63F_4B27_AC41_9CA4F14F538D_INCLUDED Chris@16: Chris@16: #include Chris@16: #include Chris@16: #include Chris@16: #include Chris@16: #include Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Define the maximal include nesting depth allowed. If this value isn't Chris@16: // defined it defaults to 1024 Chris@16: // Chris@16: // To define a new initial include nesting define the following constant Chris@16: // before including this file. Chris@16: // Chris@16: #if !defined(BOOST_WAVE_MAX_INCLUDE_LEVEL_DEPTH) Chris@16: #define BOOST_WAVE_MAX_INCLUDE_LEVEL_DEPTH 1024 Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Decide, whether to support variadics and placemarkers Chris@16: // Chris@16: // To implement support variadics and placemarkers define the following to Chris@16: // something not equal to zero. Chris@16: // Chris@16: #if !defined(BOOST_WAVE_SUPPORT_VARIADICS_PLACEMARKERS) Chris@16: #define BOOST_WAVE_SUPPORT_VARIADICS_PLACEMARKERS 1 Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Decide, whether to implement a #warning directive as an extension to the Chris@16: // C++ Standard (same as #error, but emits a warning, not an error) Chris@16: // Chris@16: // To disable the implementation of #warning directives, define the following Chris@16: // constant as zero before including this file. Chris@16: // Chris@16: #if !defined(BOOST_WAVE_SUPPORT_WARNING_DIRECTIVE) Chris@16: #define BOOST_WAVE_SUPPORT_WARNING_DIRECTIVE 1 Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Decide, whether to implement #pragma once Chris@16: // Chris@16: // To disable the implementation of #pragma once, define the following Chris@16: // constant as zero before including this file. Chris@16: // Chris@16: #if !defined(BOOST_WAVE_SUPPORT_PRAGMA_ONCE) Chris@16: #define BOOST_WAVE_SUPPORT_PRAGMA_ONCE 1 Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Decide, whether to implement #pragma message("") Chris@16: // Chris@16: // To disable the implementation of #pragma message(""), define the following Chris@16: // constant as zero before including this file. Chris@16: // Chris@16: #if !defined(BOOST_WAVE_SUPPORT_PRAGMA_MESSAGE) Chris@16: #define BOOST_WAVE_SUPPORT_PRAGMA_MESSAGE 1 Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Decide, whether to implement #include_next Chris@16: // Please note, that this is an extension to the C++ Standard. Chris@16: // Chris@16: // To disable the implementation of #include_next, define the following Chris@16: // constant as zero before including this file. Chris@16: // Chris@16: #if !defined(BOOST_WAVE_SUPPORT_INCLUDE_NEXT) Chris@16: #define BOOST_WAVE_SUPPORT_INCLUDE_NEXT 1 Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Decide, whether to support C++11 Chris@16: // Chris@16: // To implement C++11 keywords and preprocessor semantics define the following Chris@16: // to something not equal to zero. Chris@16: // Chris@16: #if !defined(BOOST_WAVE_SUPPORT_CPP0X) Chris@16: #define BOOST_WAVE_SUPPORT_CPP0X 1 Chris@16: #undef BOOST_WAVE_SUPPORT_VARIADICS_PLACEMARKERS Chris@16: #define BOOST_WAVE_SUPPORT_VARIADICS_PLACEMARKERS 1 Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Undefine the following, to enable some MS specific language extensions: Chris@16: // __int8, __int16, __int32, __int64, __based, __declspec, __cdecl, Chris@16: // __fastcall, __stdcall, __try, __except, __finally, __leave, __inline, Chris@16: // __asm, #region, #endregion Chris@16: // Chris@16: // Note: By default this is enabled for Windows based systems, otherwise it's Chris@16: // disabled. Chris@16: #if !defined(BOOST_WAVE_SUPPORT_MS_EXTENSIONS) Chris@16: #if defined(BOOST_WINDOWS) Chris@16: #define BOOST_WAVE_SUPPORT_MS_EXTENSIONS 1 Chris@16: #else Chris@16: #define BOOST_WAVE_SUPPORT_MS_EXTENSIONS 0 Chris@16: #endif Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Allow the message body of the #error and #warning directives to be Chris@16: // preprocessed before the diagnostic is issued. Chris@16: // Chris@16: // To disable preprocessing of the body of #error and #warning directives, Chris@16: // define the following constant as zero before including this file. Chris@16: // Chris@16: #if !defined(BOOST_WAVE_PREPROCESS_ERROR_MESSAGE_BODY) Chris@16: #define BOOST_WAVE_PREPROCESS_ERROR_MESSAGE_BODY 1 Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Allow the #pragma directives to be returned to the caller (optionally after Chris@16: // preprocessing the body) Chris@16: // Chris@16: // To disable the library to emit unknown #pragma directives, define the Chris@16: // following constant as zero before including this file. Chris@16: // Chris@16: #if !defined(BOOST_WAVE_EMIT_PRAGMA_DIRECTIVES) Chris@16: #define BOOST_WAVE_EMIT_PRAGMA_DIRECTIVES 1 Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Allow the body of a #pragma directive to be preprocessed before the Chris@16: // directive is returned to the caller. Chris@16: // Chris@16: // To disable the preprocessing of the body of #pragma directives, define the Chris@16: // following constant as zero before including this file. Chris@16: // Chris@16: #if !defined(BOOST_WAVE_PREPROCESS_PRAGMA_BODY) Chris@16: #define BOOST_WAVE_PREPROCESS_PRAGMA_BODY 1 Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Allow to define macros with the command line syntax (-DMACRO(x)=definition) Chris@16: // Chris@16: // To disable the possibility to define macros based on the command line Chris@16: // syntax, define the following constant as zero before including this file. Chris@16: // Chris@16: #if !defined(BOOST_WAVE_ENABLE_COMMANDLINE_MACROS) Chris@16: #define BOOST_WAVE_ENABLE_COMMANDLINE_MACROS 1 Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Define the pragma keyword to be used by the library to recognize its own Chris@16: // pragma's. If nothing else is defined, then 'wave' will be used as the Chris@16: // default keyword, i.e. the library recognizes all Chris@16: // Chris@16: // #pragma wave option [(argument)] Chris@16: // Chris@16: // and dispatches the handling to the interpret_pragma() preprocessing hook Chris@16: // function (see file: preprocessing_hooks.hpp). The arguments part of the Chris@16: // pragma is optional. Chris@16: // The BOOST_WAVE_PRAGMA_KEYWORD constant needs to be defined to Chris@16: // resolve as a string literal value. Chris@16: #if !defined(BOOST_WAVE_PRAGMA_KEYWORD) Chris@16: #define BOOST_WAVE_PRAGMA_KEYWORD "wave" Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Configure Wave thread support, Boost.Spirit and Boost.Pool are configured Chris@16: // based on these settings automatically Chris@16: // Chris@16: // If BOOST_WAVE_SUPPORT_THREADING is not defined, Wave will use the global Chris@16: // Boost build settings (BOOST_HAS_THREADS), if it is defined its value Chris@16: // defines, whether threading will be enabled or not (should be set to '0' Chris@16: // or '1'). Chris@16: #if !defined(BOOST_WAVE_SUPPORT_THREADING) Chris@16: #if defined(BOOST_HAS_THREADS) Chris@16: #define BOOST_WAVE_SUPPORT_THREADING 1 Chris@16: #else Chris@16: #define BOOST_WAVE_SUPPORT_THREADING 0 Chris@16: #endif Chris@16: #endif Chris@16: Chris@16: #if BOOST_WAVE_SUPPORT_THREADING != 0 Chris@16: #define BOOST_SPIRIT_THREADSAFE 1 Chris@16: #define PHOENIX_THREADSAFE 1 Chris@16: #else Chris@16: // disable thread support in Boost.Pool Chris@16: #define BOOST_NO_MT 1 Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Define the string type to be used to store the token values and the file Chris@16: // names inside a file_position template class Chris@16: // Chris@16: #if !defined(BOOST_WAVE_STRINGTYPE) Chris@16: Chris@16: // VC7 isn't able to compile the flex_string class, fall back to std::string Chris@16: // CW up to 8.3 chokes as well *sigh* Chris@16: // Tru64/CXX has linker problems when using flex_string Chris@16: #if BOOST_WORKAROUND(BOOST_MSVC, <= 1300) || \ Chris@16: BOOST_WORKAROUND(__MWERKS__, < 0x3200) || \ Chris@16: (defined(__DECCXX) && defined(__alpha)) || \ Chris@16: defined(BOOST_WAVE_STRINGTYPE_USE_STDSTRING) Chris@16: Chris@16: #define BOOST_WAVE_STRINGTYPE std::string Chris@16: Chris@16: #if !defined(BOOST_WAVE_STRINGTYPE_USE_STDSTRING) Chris@16: #define BOOST_WAVE_STRINGTYPE_USE_STDSTRING 1 Chris@16: #endif Chris@16: Chris@16: #else Chris@16: Chris@16: // use the following, if you have a fast std::allocator Chris@16: #define BOOST_WAVE_STRINGTYPE boost::wave::util::flex_string< \ Chris@16: char, std::char_traits, std::allocator, \ Chris@16: boost::wave::util::CowString< \ Chris@16: boost::wave::util::AllocatorStringStorage \ Chris@16: > \ Chris@16: > \ Chris@16: /**/ Chris@16: Chris@16: // This include is needed for the flex_string class used in the Chris@16: // BOOST_WAVE_STRINGTYPE above. Chris@16: #include Chris@16: Chris@16: #endif // BOOST_WORKAROUND(_MSC_VER, <= 1300) et.al. Chris@16: #endif // !defined(BOOST_WAVE_STRINGTYPE) Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // The following definition forces the Spirit tree code to use list's instead Chris@16: // of vectors, which may be more efficient on some platforms Chris@16: // #define BOOST_SPIRIT_USE_LIST_FOR_TREES Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // The following definition forces the Spirit tree code to use boost pool Chris@16: // allocators instead of the std::allocator for the vector/list's. Chris@16: // #define BOOST_SPIRIT_USE_BOOST_ALLOCATOR_FOR_TREES Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Uncomment the following, if you need debug output, the Chris@16: // BOOST_SPIRIT_DEBUG_FLAGS_CPP constants below help to fine control the Chris@16: // amount of the generated debug output. Chris@16: //#define BOOST_SPIRIT_DEBUG Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Debug flags for the Wave library, possible flags specified below. Chris@16: // Chris@16: // Note: These flags take effect only if the BOOST_SPIRIT_DEBUG constant Chris@16: // above is defined as well. Chris@16: #define BOOST_SPIRIT_DEBUG_FLAGS_CPP_GRAMMAR 0x0001 Chris@16: #define BOOST_SPIRIT_DEBUG_FLAGS_TIME_CONVERSION 0x0002 Chris@16: #define BOOST_SPIRIT_DEBUG_FLAGS_CPP_EXPR_GRAMMAR 0x0004 Chris@16: #define BOOST_SPIRIT_DEBUG_FLAGS_INTLIT_GRAMMAR 0x0008 Chris@16: #define BOOST_SPIRIT_DEBUG_FLAGS_CHLIT_GRAMMAR 0x0010 Chris@16: #define BOOST_SPIRIT_DEBUG_FLAGS_DEFINED_GRAMMAR 0x0020 Chris@16: #define BOOST_SPIRIT_DEBUG_FLAGS_PREDEF_MACROS_GRAMMAR 0x0040 Chris@16: Chris@16: #if !defined(BOOST_SPIRIT_DEBUG_FLAGS_CPP) Chris@16: #define BOOST_SPIRIT_DEBUG_FLAGS_CPP 0 // default is no debugging Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Chris@16: // For all recognized preprocessor statements the output parse trees Chris@16: // formatted as xml are printed. The formatted parse trees are streamed to the Chris@16: // std::ostream defined by the WAVE_DUMP_PARSE_TREE_OUT constant. Chris@16: // Chris@16: // To enable the output of these parse trees, define the following constant Chris@16: // as zero something not equal to zero before including this file. Chris@16: // Chris@16: #if !defined(BOOST_WAVE_DUMP_PARSE_TREE) Chris@16: #define BOOST_WAVE_DUMP_PARSE_TREE 0 Chris@16: #endif Chris@16: #if BOOST_WAVE_DUMP_PARSE_TREE != 0 && !defined(BOOST_WAVE_DUMP_PARSE_TREE_OUT) Chris@16: #define BOOST_WAVE_DUMP_PARSE_TREE_OUT std::cerr Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Chris@16: // For all #if and #elif directives the preprocessed expressions are printed. Chris@16: // These expressions are streamed to the std::ostream defined by the Chris@16: // BOOST_WAVE_DUMP_CONDITIONAL_EXPRESSIONS_OUT constant. Chris@16: // Chris@16: // To enable the output of the preprocessed expressions, define the following Chris@16: // constant as something not equal to zero before including this file. Chris@16: // Chris@16: #if !defined(BOOST_WAVE_DUMP_CONDITIONAL_EXPRESSIONS) Chris@16: #define BOOST_WAVE_DUMP_CONDITIONAL_EXPRESSIONS 0 Chris@16: #endif Chris@16: #if BOOST_WAVE_DUMP_CONDITIONAL_EXPRESSIONS != 0 && \ Chris@16: !defined(BOOST_WAVE_DUMP_CONDITIONAL_EXPRESSIONS_OUT) Chris@16: #define BOOST_WAVE_DUMP_CONDITIONAL_EXPRESSIONS_OUT std::cerr Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Decide, whether to use the separate compilation model for the instantiation Chris@16: // of the C++ lexer objects. Chris@16: // Chris@16: // If this is defined, you should explicitly instantiate the C++ lexer Chris@16: // template with the correct parameters in a separate compilation unit of Chris@16: // your program (see the file instantiate_re2c_lexer.cpp). Chris@16: // Chris@16: // To use the lexer inclusion model, define the following constant as Chris@16: // something not equal to zero before including this file. Chris@16: // Chris@16: #if !defined(BOOST_WAVE_SEPARATE_LEXER_INSTANTIATION) Chris@16: #define BOOST_WAVE_SEPARATE_LEXER_INSTANTIATION 1 Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Decide, whether to use the separate compilation model for the instantiation Chris@16: // of the grammar objects. Chris@16: // Chris@16: // If this is defined, you should explicitly instantiate the grammar Chris@16: // templates with the correct parameters in a separate compilation unit of Chris@16: // your program (see the files instantiate_cpp_grammar.cpp et.al.). Chris@16: // Chris@16: // To use the grammar inclusion model, define the following constant as Chris@16: // something not equal to zero before including this file. Chris@16: // Chris@16: #if !defined(BOOST_WAVE_SEPARATE_GRAMMAR_INSTANTIATION) Chris@16: #define BOOST_WAVE_SEPARATE_GRAMMAR_INSTANTIATION 1 Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Decide whether to use a strict C++ lexer. Chris@16: // Chris@16: // If this is defined to something != 0, then the C++ lexers recognize the Chris@16: // strict C99/C++ basic source character set. If it is not defined or defined Chris@16: // to zero, the C++ lexers recognize the '$' character as part of identifiers. Chris@16: // Chris@16: // The default is to recognize the '$' character as part of identifiers. Chris@16: // Chris@16: #if !defined(BOOST_WAVE_USE_STRICT_LEXER) Chris@16: #define BOOST_WAVE_USE_STRICT_LEXER 0 Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Decide, whether the serialization of the wave::context class should be Chris@16: // supported Chris@16: // Chris@16: // If this is defined to something not equal to zero the generated code will Chris@16: // expose routines allowing to store and reload the internal state of the Chris@16: // wave::context object. Chris@16: // Chris@16: // To enable the availability of the serialization functionality, define the Chris@16: // following constant as something not equal to zero before including this file. Chris@16: // Chris@16: #if !defined(BOOST_WAVE_SERIALIZATION) Chris@16: #define BOOST_WAVE_SERIALIZATION 0 Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Decide, whether the import keyword is recognized as such Chris@16: // Chris@16: // If this is defined to something not equal to zero the Wave will recognize Chris@16: // import as a keyword (T_IMPORT token id) Chris@16: // Chris@16: #if !defined(BOOST_WAVE_SUPPORT_IMPORT_KEYWORD) Chris@16: #define BOOST_WAVE_SUPPORT_IMPORT_KEYWORD 0 Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Decide, whether to support long long integers in the preprocessor. Chris@16: // Chris@16: // The C++ standard requires the preprocessor to use one of the following Chris@16: // types for integer literals: long or unsigned long depending on an optional Chris@16: // suffix ('u', 'l', 'ul', or 'lu') Chris@16: // Chris@16: // Sometimes it's required to preprocess integer literals bigger than that Chris@16: // (i.e. long long or unsigned long long). In this case you need to define the Chris@16: // BOOST_WAVE_SUPPORT_LONGLONG_INTEGER_LITERALS to something not equal to zero. Chris@16: // Chris@16: // This pp constant is effective only, if your target platform supports Chris@16: // long long integers (BOOST_HAS_LONG_LONG is defined). Chris@16: // Chris@16: // Please note, that this setting doesn't relate to the Wave support option Chris@16: // support_option_long_long, which enables the recognition of 'll' suffixes Chris@16: // only. Chris@16: // Chris@16: // Defining this pp constant enables the recognition of long long integers Chris@16: // even if these do not have the 'll' suffix. Chris@16: // Chris@16: #if !defined(BOOST_WAVE_SUPPORT_LONGLONG_INTEGER_LITERALS) Chris@16: #define BOOST_WAVE_SUPPORT_LONGLONG_INTEGER_LITERALS 0 Chris@16: #endif Chris@16: Chris@16: namespace boost { namespace wave Chris@16: { Chris@16: #if defined(BOOST_HAS_LONG_LONG) && \ Chris@16: BOOST_WAVE_SUPPORT_LONGLONG_INTEGER_LITERALS != 0 Chris@16: typedef boost::long_long_type int_literal_type; Chris@16: typedef boost::ulong_long_type uint_literal_type; Chris@16: #else Chris@16: typedef long int_literal_type; Chris@16: typedef unsigned long uint_literal_type; Chris@16: #endif Chris@16: }} Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // On some platforms Wave will not be able to properly detect whether wchar_t Chris@16: // is representing a signed or unsigned integral data type. Use the Chris@16: // configuration constants below to force wchar_t being signed or unsigned, as Chris@16: // appropriate. Chris@16: // Chris@16: // The default is to use std::numeric_limits::is_signed. Chris@16: Chris@16: #define BOOST_WAVE_WCHAR_T_AUTOSELECT 1 Chris@16: #define BOOST_WAVE_WCHAR_T_FORCE_SIGNED 2 Chris@16: #define BOOST_WAVE_WCHAR_T_FORCE_UNSIGNED 3 Chris@16: Chris@16: #if !defined(BOOST_WAVE_WCHAR_T_SIGNEDNESS) Chris@16: #define BOOST_WAVE_WCHAR_T_SIGNEDNESS BOOST_WAVE_WCHAR_T_AUTOSELECT Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Wave needs at least 4 parameters for phoenix actors Chris@16: #if !defined(PHOENIX_LIMIT) Chris@16: #define PHOENIX_LIMIT 6 Chris@16: #endif Chris@16: #if PHOENIX_LIMIT < 6 Chris@16: // boost/home/classic/spirit/classic_attribute.hpp sets PHOENIX_LIMIT to 3! Chris@16: #error "Boost.Wave: the constant PHOENIX_LIMIT must be at least defined to 6" \ Chris@16: " to compile the library." Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Set up dll import/export options Chris@16: #if (defined(BOOST_WAVE_DYN_LINK) || defined(BOOST_ALL_DYN_LINK)) && \ Chris@16: !defined(BOOST_WAVE_STATIC_LINK) Chris@16: Chris@16: #if defined(BOOST_WAVE_SOURCE) Chris@16: #define BOOST_WAVE_DECL BOOST_SYMBOL_EXPORT Chris@16: #define BOOST_WAVE_BUILD_DLL Chris@16: #else Chris@16: #define BOOST_WAVE_DECL BOOST_SYMBOL_IMPORT Chris@16: #endif Chris@16: Chris@16: #endif // building a shared library Chris@16: Chris@16: #ifndef BOOST_WAVE_DECL Chris@16: #define BOOST_WAVE_DECL Chris@16: #endif Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Auto library naming Chris@16: #if BOOST_VERSION >= 103100 Chris@16: // auto link features work beginning from Boost V1.31.0 Chris@16: #if !defined(BOOST_WAVE_SOURCE) && !defined(BOOST_ALL_NO_LIB) && \ Chris@16: !defined(BOOST_WAVE_NO_LIB) Chris@16: Chris@16: #define BOOST_LIB_NAME boost_wave Chris@16: Chris@16: // tell the auto-link code to select a dll when required: Chris@16: #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_WAVE_DYN_LINK) Chris@16: #define BOOST_DYN_LINK Chris@16: #endif Chris@16: Chris@16: #include Chris@16: Chris@16: #endif // auto-linking disabled Chris@16: #endif // BOOST_VERSION Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // Compatibility macros Chris@16: // (ensure interface compatibility to older Wave versions) Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: Chris@16: /////////////////////////////////////////////////////////////////////////////// Chris@16: // The preprocessing hook signatures changed after the Boost V1.34.0 release Chris@16: // Chris@16: // To use the preprocessing hook signatures as released with Boost V1.34.0 Chris@16: // you need to define the BOOST_WAVE_USE_DEPRECIATED_PREPROCESSING_HOOKS Chris@16: // constant to something not equal zero. Chris@16: // Chris@16: // To force using the new interface define this constant to zero. Chris@16: // Chris@16: #if !defined(BOOST_WAVE_USE_DEPRECIATED_PREPROCESSING_HOOKS) Chris@16: #if BOOST_VERSION < 103500 // before Boost V1.35.0 Chris@16: #define BOOST_WAVE_USE_DEPRECIATED_PREPROCESSING_HOOKS 1 Chris@16: #else Chris@16: #define BOOST_WAVE_USE_DEPRECIATED_PREPROCESSING_HOOKS 0 Chris@16: #endif Chris@16: #endif Chris@16: Chris@16: #endif // !defined(WAVE_CONFIG_HPP_F143F90A_A63F_4B27_AC41_9CA4F14F538D_INCLUDED)