mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-03 14:54:30 +02:00
## fixes
[SVN r15538]
This commit is contained in:
@@ -21,21 +21,19 @@
|
||||
#include "boost/config.hpp"
|
||||
|
||||
#if defined(BOOST_MSVC) && BOOST_MSVC < 1300
|
||||
# define BOOST_MPL_COMPILER_CLASS msvc60
|
||||
# define BOOST_MPL_COMPILER_DIR msvc60
|
||||
#elif defined(BOOST_MSVC) && BOOST_MSVC == 1300
|
||||
# define BOOST_MPL_COMPILER_CLASS msvc70
|
||||
# define BOOST_MPL_COMPILER_DIR msvc70
|
||||
#elif defined(__GNUC__)
|
||||
# define BOOST_MPL_COMPILER_CLASS gcc
|
||||
# define BOOST_MPL_COMPILER_DIR gcc
|
||||
#elif defined(__BORLANDC__)
|
||||
# define BOOST_MPL_COMPILER_CLASS bcc
|
||||
# define BOOST_MPL_COMPILER_DIR bcc
|
||||
#elif defined(__MWERKS__) && __MWERKS__ <= 0x3001
|
||||
# define BOOST_MPL_COMPILER_CLASS mwcw
|
||||
# define BOOST_MPL_COMPILER_DIR mwcw
|
||||
#elif defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
|
||||
# define BOOST_MPL_COMPILER_CLASS no_ctps
|
||||
# define BOOST_MPL_COMPILER_DIR no_ctps
|
||||
#else
|
||||
# define BOOST_MPL_COMPILER_CLASS plain
|
||||
# define BOOST_MPL_COMPILER_DIR plain
|
||||
#endif
|
||||
|
||||
#define BOOST_MPL_COMPILER_DIR BOOST_MPL_COMPILER_CLASS/
|
||||
|
||||
#endif // BOOST_MPL_AUX_CONFIG_COMPILER_HPP_INCLUDED
|
||||
|
@@ -20,20 +20,11 @@
|
||||
#include "boost/preprocessor/cat.hpp"
|
||||
#include "boost/preprocessor/stringize.hpp"
|
||||
|
||||
// local macro, #undef-ined at the end of the header
|
||||
#define AUX_PREPROCESSED_HEADER \
|
||||
BOOST_PP_STRINGIZE( \
|
||||
BOOST_PP_CAT( \
|
||||
BOOST_PP_CAT( \
|
||||
boost/mpl/aux_/preprocessed/ \
|
||||
, BOOST_MPL_COMPILER_DIR \
|
||||
) \
|
||||
, BOOST_MPL_PREPROCESSED_HEADER \
|
||||
) \
|
||||
) \
|
||||
# define AUX_PREPROCESSED_HEADER \
|
||||
aux_/preprocessed/BOOST_MPL_COMPILER_DIR/BOOST_MPL_PREPROCESSED_HEADER \
|
||||
/**/
|
||||
|
||||
#include AUX_PREPROCESSED_HEADER
|
||||
# include BOOST_PP_STRINGIZE(boost/mpl/AUX_PREPROCESSED_HEADER)
|
||||
# undef AUX_PREPROCESSED_HEADER
|
||||
|
||||
#undef AUX_PREPROCESSED_HEADER
|
||||
#undef BOOST_MPL_PREPROCESSED_HEADER
|
||||
|
Reference in New Issue
Block a user