From 660103b429b3d6e99d0c79efcf23c689159e1f93 Mon Sep 17 00:00:00 2001 From: Stefan Slapeta Date: Wed, 18 Aug 2004 14:27:42 +0000 Subject: [PATCH] Different config macros for windows and linux compiler [SVN r24559] --- include/boost/config/compiler/intel.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/boost/config/compiler/intel.hpp b/include/boost/config/compiler/intel.hpp index b7e4ec19..060338bc 100644 --- a/include/boost/config/compiler/intel.hpp +++ b/include/boost/config/compiler/intel.hpp @@ -29,6 +29,12 @@ #define BOOST_COMPILER "Intel C++ version " BOOST_STRINGIZE(BOOST_INTEL_CXX_VERSION) #define BOOST_INTEL BOOST_INTEL_CXX_VERSION +#if defined(_WIN32) || defined(_WIN64) +# define BOOST_INTEL_WIN BOOST_INTEL +#else +# define BOOST_INTEL_LINUX BOOST_INTEL +#endif + #if (BOOST_INTEL_CXX_VERSION <= 500) && defined(_MSC_VER) # define BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS # define BOOST_NO_TEMPLATE_TEMPLATES @@ -131,7 +137,7 @@ template<> struct assert_intrinsic_wchar_t {}; #endif // // last known and checked version: -#if (BOOST_INTEL_CXX_VERSION > 800) +#if (BOOST_INTEL_CXX_VERSION > 810) # if defined(BOOST_ASSERT_CONFIG) # error "Unknown compiler version - please run the configure tests and report the results" # elif defined(_MSC_VER)