vacpp.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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_LIBRARY_STD_VACPP_H
  8. #define BOOST_PREDEF_LIBRARY_STD_VACPP_H
  9. #include <boost/predef/library/std/_prefix.h>
  10. #include <boost/predef/version_number.h>
  11. #include <boost/predef/make.h>
  12. /* tag::reference[]
  13. = `BOOST_LIB_STD_IBM`
  14. http://www.ibm.com/software/awdtools/xlcpp/[IBM VACPP Standard {CPP}] library.
  15. [options="header"]
  16. |===
  17. | {predef_symbol} | {predef_version}
  18. | `+__IBMCPP__+` | {predef_detection}
  19. |===
  20. */ // end::reference[]
  21. #define BOOST_LIB_STD_IBM BOOST_VERSION_NUMBER_NOT_AVAILABLE
  22. #if defined(__IBMCPP__)
  23. # undef BOOST_LIB_STD_IBM
  24. # define BOOST_LIB_STD_IBM BOOST_VERSION_NUMBER_AVAILABLE
  25. #endif
  26. #if BOOST_LIB_STD_IBM
  27. # define BOOST_LIB_STD_IBM_AVAILABLE
  28. #endif
  29. #define BOOST_LIB_STD_IBM_NAME "IBM VACPP"
  30. #endif
  31. #include <boost/predef/detail/test.h>
  32. BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_IBM,BOOST_LIB_STD_IBM_NAME)