2013-08-08 09:54:33 +00:00
|
|
|
/*=============================================================================
|
2014-02-21 14:16:23 +00:00
|
|
|
Copyright (c) 2011-2014 Bolero MURAKAMI
|
|
|
|
https://github.com/bolero-MURAKAMI/Sprout
|
2013-08-08 09:54:33 +00:00
|
|
|
|
2014-02-21 14:16:23 +00:00
|
|
|
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
|
|
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
2013-08-08 09:54:33 +00:00
|
|
|
=============================================================================*/
|
2012-04-13 07:00:30 +00:00
|
|
|
#ifndef SPROUT_CONFIG_COMPILER_INTEL_HPP
|
|
|
|
#define SPROUT_CONFIG_COMPILER_INTEL_HPP
|
|
|
|
|
|
|
|
#include <sprout/config/compiler/common_edg.hpp>
|
|
|
|
|
2014-02-21 13:24:05 +00:00
|
|
|
#if defined(__INTEL_COMPILER)
|
|
|
|
# define SPROUT_INTEL_CXX_VERSION __INTEL_COMPILER
|
|
|
|
#elif defined(__ICL)
|
|
|
|
# define SPROUT_INTEL_CXX_VERSION __ICL
|
|
|
|
#elif defined(__ICC)
|
|
|
|
# define SPROUT_INTEL_CXX_VERSION __ICC
|
|
|
|
#elif defined(__ECC)
|
|
|
|
# define SPROUT_INTEL_CXX_VERSION __ECC
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if (!(defined(_WIN32) || defined(_WIN64)) && defined(__STDC_HOSTED__) && (__STDC_HOSTED__ && (SPROUT_INTEL_CXX_VERSION <= 1200))) || defined(__GXX_EXPERIMENTAL_CPP0X__) || defined(__GXX_EXPERIMENTAL_CXX0X__)
|
|
|
|
# define SPROUT_INTEL_STDCXX11
|
|
|
|
#endif
|
|
|
|
#if defined(_MSC_VER) && (_MSC_VER >= 1600)
|
|
|
|
# define SPROUT_INTEL_STDCXX11
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(SPROUT_INTEL_STDCXX11) && (SPROUT_INTEL_CXX_VERSION >= 1200)
|
|
|
|
# undef SPROUT_NO_CXX11_DELETED_FUNCTIONS
|
|
|
|
# undef SPROUT_NO_CXX11_DEFAULTED_FUNCTIONS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(SPROUT_INTEL_STDCXX11) && (SPROUT_INTEL_CXX_VERSION > 1200)
|
|
|
|
# undef SPROUT_NO_CXX11_TEMPLATE_ALIASES
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(SPROUT_INTEL_STDCXX11) && (SPROUT_INTEL_CXX_VERSION >= 1400) && !defined(_MSC_VER)
|
|
|
|
# undef SPROUT_NO_CXX11_UNICODE_LITERALS
|
|
|
|
# undef SPROUT_NO_CXX11_CONSTEXPR
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(_MSC_VER) && (_MSC_VER <= 1700)
|
|
|
|
# define SPROUT_NO_CXX11_DELETED_FUNCTIONS
|
|
|
|
# define SPROUT_NO_CXX11_DEFAULTED_FUNCTIONS
|
|
|
|
# define SPROUT_NO_CXX11_TEMPLATE_ALIASES
|
|
|
|
#endif
|
|
|
|
|
2012-04-13 07:00:30 +00:00
|
|
|
#endif // #ifndef SPROUT_CONFIG_COMPILER_INTEL_HPP
|