PageRenderTime 50ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 0ms

/of/of_v0.9.3_vs_release/libs/boost/include/boost/predef/compiler/intel.h

https://gitlab.com/cocoroac/walkingartists
C Header | 66 lines | 32 code | 11 blank | 23 comment | 7 complexity | 377fcd75324e52b3dabce2104c447ec2 MD5 | raw file
  1. /*
  2. Copyright Rene Rivera 2008-2014
  3. Distributed under the Boost Software License, Version 1.0.
  4. (See accompanying file LICENSE_1_0.txt or copy at
  5. http://www.boost.org/LICENSE_1_0.txt)
  6. */
  7. #ifndef BOOST_PREDEF_COMPILER_INTEL_H
  8. #define BOOST_PREDEF_COMPILER_INTEL_H
  9. #include <boost/predef/version_number.h>
  10. #include <boost/predef/make.h>
  11. /*`
  12. [heading `BOOST_COMP_INTEL`]
  13. [@http://en.wikipedia.org/wiki/Intel_C%2B%2B Intel C/C++] compiler.
  14. Version number available as major, minor, and patch.
  15. [table
  16. [[__predef_symbol__] [__predef_version__]]
  17. [[`__INTEL_COMPILER`] [__predef_detection__]]
  18. [[`__ICL`] [__predef_detection__]]
  19. [[`__ICC`] [__predef_detection__]]
  20. [[`__ECC`] [__predef_detection__]]
  21. [[`__INTEL_COMPILER`] [V.R.P]]
  22. ]
  23. */
  24. #define BOOST_COMP_INTEL BOOST_VERSION_NUMBER_NOT_AVAILABLE
  25. #if defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || \
  26. defined(__ECC)
  27. # if !defined(BOOST_COMP_INTEL_DETECTION) && defined(__INTEL_COMPILER)
  28. # define BOOST_COMP_INTEL_DETECTION BOOST_PREDEF_MAKE_10_VRP(__INTEL_COMPILER)
  29. # endif
  30. # if !defined(BOOST_COMP_INTEL_DETECTION)
  31. # define BOOST_COMP_INTEL_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
  32. # endif
  33. #endif
  34. #ifdef BOOST_COMP_INTEL_DETECTION
  35. # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
  36. # define BOOST_COMP_INTEL_EMULATED BOOST_COMP_INTEL_DETECTION
  37. # else
  38. # undef BOOST_COMP_INTEL
  39. # define BOOST_COMP_INTEL BOOST_COMP_INTEL_DETECTION
  40. # endif
  41. # define BOOST_COMP_INTEL_AVAILABLE
  42. # include <boost/predef/detail/comp_detected.h>
  43. #endif
  44. #define BOOST_COMP_INTEL_NAME "Intel C/C++"
  45. #include <boost/predef/detail/test.h>
  46. BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_INTEL,BOOST_COMP_INTEL_NAME)
  47. #ifdef BOOST_COMP_INTEL_EMULATED
  48. #include <boost/predef/detail/test.h>
  49. BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_INTEL_EMULATED,BOOST_COMP_INTEL_NAME)
  50. #endif
  51. #endif