microtec.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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_MICROTEC_H
  8. #define MSGPACK_PREDEF_COMPILER_MICROTEC_H
  9. #include <msgpack/predef/version_number.h>
  10. #include <msgpack/predef/make.h>
  11. /*`
  12. [heading `MSGPACK_COMP_MRI`]
  13. [@http://www.mentor.com/microtec/ Microtec C/C++] compiler.
  14. [table
  15. [[__predef_symbol__] [__predef_version__]]
  16. [[`_MRI`] [__predef_detection__]]
  17. ]
  18. */
  19. #define MSGPACK_COMP_MRI MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
  20. #if defined(_MRI)
  21. # define MSGPACK_COMP_MRI_DETECTION MSGPACK_VERSION_NUMBER_AVAILABLE
  22. #endif
  23. #ifdef MSGPACK_COMP_MRI_DETECTION
  24. # if defined(MSGPACK_PREDEF_DETAIL_COMP_DETECTED)
  25. # define MSGPACK_COMP_MRI_EMULATED MSGPACK_COMP_MRI_DETECTION
  26. # else
  27. # undef MSGPACK_COMP_MRI
  28. # define MSGPACK_COMP_MRI MSGPACK_COMP_MRI_DETECTION
  29. # endif
  30. # define MSGPACK_COMP_MRI_AVAILABLE
  31. # include <msgpack/predef/detail/comp_detected.h>
  32. #endif
  33. #define MSGPACK_COMP_MRI_NAME "Microtec C/C++"
  34. #endif
  35. #include <msgpack/predef/detail/test.h>
  36. MSGPACK_PREDEF_DECLARE_TEST(MSGPACK_COMP_MRI,MSGPACK_COMP_MRI_NAME)
  37. #ifdef MSGPACK_COMP_MRI_EMULATED
  38. #include <msgpack/predef/detail/test.h>
  39. MSGPACK_PREDEF_DECLARE_TEST(MSGPACK_COMP_MRI_EMULATED,MSGPACK_COMP_MRI_NAME)
  40. #endif