Corrected calculation _msc_ver number.

This commit is contained in:
Edward Diener
2014-05-02 02:59:10 -04:00
parent 5c22605c3d
commit 7da9dbb7a9
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@
# include <boost/preprocessor/config/config.hpp> # include <boost/preprocessor/config/config.hpp>
# include <boost/preprocessor/tuple/rem.hpp> # include <boost/preprocessor/tuple/rem.hpp>
# #
# if BOOST_PP_VARIADICS && BOOST_PP_VARIADICS_MSVC && _MSC_VER != 1400 # if BOOST_PP_VARIADICS && BOOST_PP_VARIADICS_MSVC && _MSC_VER > 1400
# include <boost/preprocessor/cat.hpp> # include <boost/preprocessor/cat.hpp>
# include <boost/preprocessor/control/if.hpp> # include <boost/preprocessor/control/if.hpp>
# include <boost/preprocessor/control/iif.hpp> # include <boost/preprocessor/control/iif.hpp>
@ -45,6 +45,6 @@
/**/ /**/
# else # else
# define BOOST_PP_ARRAY_DETAIL_GET_DATA(size, data) BOOST_PP_TUPLE_REM(size) data # define BOOST_PP_ARRAY_DETAIL_GET_DATA(size, data) BOOST_PP_TUPLE_REM(size) data
# endif /* BOOST_PP_VARIADICS && BOOST_PP_VARIADICS_MSVC && _MSC_VER != 1400 */ # endif /* BOOST_PP_VARIADICS && BOOST_PP_VARIADICS_MSVC && _MSC_VER > 1400 */
# #
# endif /* BOOST_PREPROCESSOR_ARRAY_DETAIL_GET_DATA_HPP */ # endif /* BOOST_PREPROCESSOR_ARRAY_DETAIL_GET_DATA_HPP */

View File

@ -37,7 +37,7 @@
/* /*
VC++8.0 cannot handle the variadic version of BOOST_PP_TUPLE_REM(size) VC++8.0 cannot handle the variadic version of BOOST_PP_TUPLE_REM(size)
*/ */
# if BOOST_PP_VARIADICS && !(BOOST_PP_VARIADICS_MSVC && _MSC_VER == 1400) # if BOOST_PP_VARIADICS && !(BOOST_PP_VARIADICS_MSVC && _MSC_VER <= 1400)
# if BOOST_PP_VARIADICS_MSVC # if BOOST_PP_VARIADICS_MSVC
/* To be used internally when the size is 1 */ /* To be used internally when the size is 1 */
# define BOOST_PP_TUPLE_REM_CAT(size) BOOST_PP_REM_CAT # define BOOST_PP_TUPLE_REM_CAT(size) BOOST_PP_REM_CAT