diff options
Diffstat (limited to 'boost/config/compiler/intel.hpp')
-rw-r--r-- | boost/config/compiler/intel.hpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/boost/config/compiler/intel.hpp b/boost/config/compiler/intel.hpp index 7789b94464..88ac023acc 100644 --- a/boost/config/compiler/intel.hpp +++ b/boost/config/compiler/intel.hpp @@ -514,7 +514,15 @@ template<> struct assert_intrinsic_wchar_t<unsigned short> {}; # define BOOST_HAS_STDINT_H #endif -#if defined(__LP64__) && defined(__GNUC__) && (BOOST_INTEL_CXX_VERSION >= 1310) && !defined(__CUDACC__) +#if defined(__CUDACC__) +# if defined(BOOST_GCC_CXX11) +# define BOOST_NVCC_CXX11 +# else +# define BOOST_NVCC_CXX03 +# endif +#endif + +#if defined(__LP64__) && defined(__GNUC__) && (BOOST_INTEL_CXX_VERSION >= 1310) && !defined(BOOST_NVCC_CXX03) # define BOOST_HAS_INT128 #endif |