hp_acc.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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_HP_ACC_H
  8. #define MSGPACK_PREDEF_COMPILER_HP_ACC_H
  9. #include <msgpack/predef/version_number.h>
  10. #include <msgpack/predef/make.h>
  11. /*`
  12. [heading `MSGPACK_COMP_HPACC`]
  13. HP aC++ compiler.
  14. Version number available as major, minor, and patch.
  15. [table
  16. [[__predef_symbol__] [__predef_version__]]
  17. [[`__HP_aCC`] [__predef_detection__]]
  18. [[`__HP_aCC`] [V.R.P]]
  19. ]
  20. */
  21. #define MSGPACK_COMP_HPACC MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
  22. #if defined(__HP_aCC)
  23. # if !defined(MSGPACK_COMP_HPACC_DETECTION) && (__HP_aCC > 1)
  24. # define MSGPACK_COMP_HPACC_DETECTION MSGPACK_PREDEF_MAKE_10_VVRRPP(__HP_aCC)
  25. # endif
  26. # if !defined(MSGPACK_COMP_HPACC_DETECTION)
  27. # define MSGPACK_COMP_HPACC_DETECTION MSGPACK_VERSION_NUMBER_AVAILABLE
  28. # endif
  29. #endif
  30. #ifdef MSGPACK_COMP_HPACC_DETECTION
  31. # if defined(MSGPACK_PREDEF_DETAIL_COMP_DETECTED)
  32. # define MSGPACK_COMP_HPACC_EMULATED MSGPACK_COMP_HPACC_DETECTION
  33. # else
  34. # undef MSGPACK_COMP_HPACC
  35. # define MSGPACK_COMP_HPACC MSGPACK_COMP_HPACC_DETECTION
  36. # endif
  37. # define MSGPACK_COMP_HPACC_AVAILABLE
  38. # include <msgpack/predef/detail/comp_detected.h>
  39. #endif
  40. #define MSGPACK_COMP_HPACC_NAME "HP aC++"
  41. #endif
  42. #include <msgpack/predef/detail/test.h>
  43. MSGPACK_PREDEF_DECLARE_TEST(MSGPACK_COMP_HPACC,MSGPACK_COMP_HPACC_NAME)
  44. #ifdef MSGPACK_COMP_HPACC_EMULATED
  45. #include <msgpack/predef/detail/test.h>
  46. MSGPACK_PREDEF_DECLARE_TEST(MSGPACK_COMP_HPACC_EMULATED,MSGPACK_COMP_HPACC_NAME)
  47. #endif