hp_acc.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*
  2. Copyright Redshift Software, Inc. 2008-2013
  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_HP_ACC_H
  8. #define BOOST_PREDEF_COMPILER_HP_ACC_H
  9. #include <boost/predef/version_number.h>
  10. #include <boost/predef/make.h>
  11. /*`
  12. [heading `BOOST_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 BOOST_COMP_HPACC BOOST_VERSION_NUMBER_NOT_AVAILABLE
  22. #if defined(__HP_aCC)
  23. # undef BOOST_COMP_HPACC
  24. # if !defined(BOOST_COMP_HPACC) && (__HP_aCC > 1)
  25. # define BOOST_COMP_HPACC BOOST_PREDEF_MAKE_10_VVRRPP(__HP_aCC)
  26. # endif
  27. # if !defined(BOOST_COMP_HPACC)
  28. # define BOOST_COMP_HPACC BOOST_VERSION_NUMBER_AVAILABLE
  29. # endif
  30. #endif
  31. #if BOOST_COMP_HPACC
  32. # define BOOST_COMP_HPACC_AVAILABLE
  33. #endif
  34. #define BOOST_COMP_HPACC_NAME "HP aC++"
  35. #include <boost/predef/detail/test.h>
  36. BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_HPACC,BOOST_COMP_HPACC_NAME)
  37. #endif