sgi.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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_SGI_H
  8. #define BOOST_PREDEF_LIBRARY_STD_SGI_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_SGI`
  14. http://www.sgi.com/tech/stl/[SGI] Standard {CPP} library.
  15. If available version number as major, minor, and patch.
  16. [options="header"]
  17. |===
  18. | {predef_symbol} | {predef_version}
  19. | `+__STL_CONFIG_H+` | {predef_detection}
  20. | `+__SGI_STL+` | V.R.P
  21. |===
  22. */ // end::reference[]
  23. #define BOOST_LIB_STD_SGI BOOST_VERSION_NUMBER_NOT_AVAILABLE
  24. #if defined(__STL_CONFIG_H)
  25. # undef BOOST_LIB_STD_SGI
  26. # if defined(__SGI_STL)
  27. # define BOOST_LIB_STD_SGI BOOST_PREDEF_MAKE_0X_VRP(__SGI_STL)
  28. # else
  29. # define BOOST_LIB_STD_SGI BOOST_VERSION_NUMBER_AVAILABLE
  30. # endif
  31. #endif
  32. #if BOOST_LIB_STD_SGI
  33. # define BOOST_LIB_STD_SGI_AVAILABLE
  34. #endif
  35. #define BOOST_LIB_STD_SGI_NAME "SGI"
  36. #endif
  37. #include <boost/predef/detail/test.h>
  38. BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_SGI,BOOST_LIB_STD_SGI_NAME)