mirror of
https://github.com/boostorg/config.git
synced 2025-07-31 21:04:28 +02:00
Only define BOOST_COMPILE if not already done (as it is already the case for g++ and ms).
Usfull when called through nvcc. fixes #10420
This commit is contained in:
@@ -34,11 +34,14 @@
|
|||||||
# define BOOST_INTEL_STDCXX0X
|
# define BOOST_INTEL_STDCXX0X
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef BOOST_INTEL_STDCXX0X
|
#if !defined(BOOST_COMPILER)
|
||||||
#define BOOST_COMPILER "Intel C++ C++0x mode version " BOOST_STRINGIZE(BOOST_INTEL_CXX_VERSION)
|
# if defined(BOOST_INTEL_STDCXX0X)
|
||||||
#else
|
# define BOOST_COMPILER "Intel C++ C++0x mode version " BOOST_STRINGIZE(BOOST_INTEL_CXX_VERSION)
|
||||||
#define BOOST_COMPILER "Intel C++ version " BOOST_STRINGIZE(BOOST_INTEL_CXX_VERSION)
|
# else
|
||||||
|
# define BOOST_COMPILER "Intel C++ version " BOOST_STRINGIZE(BOOST_INTEL_CXX_VERSION)
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define BOOST_INTEL BOOST_INTEL_CXX_VERSION
|
#define BOOST_INTEL BOOST_INTEL_CXX_VERSION
|
||||||
|
|
||||||
#if defined(_WIN32) || defined(_WIN64)
|
#if defined(_WIN32) || defined(_WIN64)
|
||||||
|
Reference in New Issue
Block a user