sgi.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. /*`
  13. [heading `BOOST_LIB_STD_SGI`]
  14. [@http://www.sgi.com/tech/stl/ SGI] Standard C++ library.
  15. If available version number as major, minor, and patch.
  16. [table
  17. [[__predef_symbol__] [__predef_version__]]
  18. [[`__STL_CONFIG_H`] [__predef_detection__]]
  19. [[`__SGI_STL`] [V.R.P]]
  20. ]
  21. */
  22. #define BOOST_LIB_STD_SGI BOOST_VERSION_NUMBER_NOT_AVAILABLE
  23. #if defined(__STL_CONFIG_H)
  24. # undef BOOST_LIB_STD_SGI
  25. # if defined(__SGI_STL)
  26. # define BOOST_LIB_STD_SGI BOOST_PREDEF_MAKE_0X_VRP(__SGI_STL)
  27. # else
  28. # define BOOST_LIB_STD_SGI BOOST_VERSION_NUMBER_AVAILABLE
  29. # endif
  30. #endif
  31. #if BOOST_LIB_STD_SGI
  32. # define BOOST_LIB_STD_SGI_AVAILABLE
  33. #endif
  34. #define BOOST_LIB_STD_SGI_NAME "SGI"
  35. #endif
  36. #include <boost/predef/detail/test.h>
  37. BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_SGI,BOOST_LIB_STD_SGI_NAME)