ekopath.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*
  2. Copyright Rene Rivera 2008-2015
  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_EKOPATH_H
  8. #define BOOST_PREDEF_COMPILER_EKOPATH_H
  9. #include <boost/predef/version_number.h>
  10. #include <boost/predef/make.h>
  11. /* tag::reference[]
  12. = `BOOST_COMP_PATH`
  13. http://en.wikipedia.org/wiki/PathScale[EKOpath] compiler.
  14. Version number available as major, minor, and patch.
  15. [options="header"]
  16. |===
  17. | {predef_symbol} | {predef_version}
  18. | `+__PATHCC__+` | {predef_detection}
  19. | `+__PATHCC__+`, `+__PATHCC_MINOR__+`, `+__PATHCC_PATCHLEVEL__+` | V.R.P
  20. |===
  21. */ // end::reference[]
  22. #define BOOST_COMP_PATH BOOST_VERSION_NUMBER_NOT_AVAILABLE
  23. #if defined(__PATHCC__)
  24. # define BOOST_COMP_PATH_DETECTION \
  25. BOOST_VERSION_NUMBER(__PATHCC__,__PATHCC_MINOR__,__PATHCC_PATCHLEVEL__)
  26. #endif
  27. #ifdef BOOST_COMP_PATH_DETECTION
  28. # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
  29. # define BOOST_COMP_PATH_EMULATED BOOST_COMP_PATH_DETECTION
  30. # else
  31. # undef BOOST_COMP_PATH
  32. # define BOOST_COMP_PATH BOOST_COMP_PATH_DETECTION
  33. # endif
  34. # define BOOST_COMP_PATH_AVAILABLE
  35. # include <boost/predef/detail/comp_detected.h>
  36. #endif
  37. #define BOOST_COMP_PATH_NAME "EKOpath"
  38. #endif
  39. #include <boost/predef/detail/test.h>
  40. BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_PATH,BOOST_COMP_PATH_NAME)
  41. #ifdef BOOST_COMP_PATH_EMULATED
  42. #include <boost/predef/detail/test.h>
  43. BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_PATH_EMULATED,BOOST_COMP_PATH_NAME)
  44. #endif