ekopath.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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 MSGPACK_PREDEF_COMPILER_EKOPATH_H
  8. #define MSGPACK_PREDEF_COMPILER_EKOPATH_H
  9. #include <msgpack/predef/version_number.h>
  10. #include <msgpack/predef/make.h>
  11. /*`
  12. [heading `MSGPACK_COMP_PATH`]
  13. [@http://en.wikipedia.org/wiki/PathScale EKOpath] compiler.
  14. Version number available as major, minor, and patch.
  15. [table
  16. [[__predef_symbol__] [__predef_version__]]
  17. [[`__PATHCC__`] [__predef_detection__]]
  18. [[`__PATHCC__`, `__PATHCC_MINOR__`, `__PATHCC_PATCHLEVEL__`] [V.R.P]]
  19. ]
  20. */
  21. #define MSGPACK_COMP_PATH MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
  22. #if defined(__PATHCC__)
  23. # define MSGPACK_COMP_PATH_DETECTION \
  24. MSGPACK_VERSION_NUMBER(__PATHCC__,__PATHCC_MINOR__,__PATHCC_PATCHLEVEL__)
  25. #endif
  26. #ifdef MSGPACK_COMP_PATH_DETECTION
  27. # if defined(MSGPACK_PREDEF_DETAIL_COMP_DETECTED)
  28. # define MSGPACK_COMP_PATH_EMULATED MSGPACK_COMP_PATH_DETECTION
  29. # else
  30. # undef MSGPACK_COMP_PATH
  31. # define MSGPACK_COMP_PATH MSGPACK_COMP_PATH_DETECTION
  32. # endif
  33. # define MSGPACK_COMP_PATH_AVAILABLE
  34. # include <msgpack/predef/detail/comp_detected.h>
  35. #endif
  36. #define MSGPACK_COMP_PATH_NAME "EKOpath"
  37. #endif
  38. #include <msgpack/predef/detail/test.h>
  39. MSGPACK_PREDEF_DECLARE_TEST(MSGPACK_COMP_PATH,MSGPACK_COMP_PATH_NAME)
  40. #ifdef MSGPACK_COMP_PATH_EMULATED
  41. #include <msgpack/predef/detail/test.h>
  42. MSGPACK_PREDEF_DECLARE_TEST(MSGPACK_COMP_PATH_EMULATED,MSGPACK_COMP_PATH_NAME)
  43. #endif