stlport.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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_STLPORT_H
  8. #define BOOST_PREDEF_LIBRARY_STD_STLPORT_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_STLPORT`]
  14. [@http://sourceforge.net/projects/stlport/ STLport Standard C++] library.
  15. Version number available as major, minor, and patch.
  16. [table
  17. [[__predef_symbol__] [__predef_version__]]
  18. [[`__SGI_STL_PORT`] [__predef_detection__]]
  19. [[`_STLPORT_VERSION`] [__predef_detection__]]
  20. [[`_STLPORT_MAJOR`, `_STLPORT_MINOR`, `_STLPORT_PATCHLEVEL`] [V.R.P]]
  21. [[`_STLPORT_VERSION`] [V.R.P]]
  22. [[`__SGI_STL_PORT`] [V.R.P]]
  23. ]
  24. */
  25. #define BOOST_LIB_STD_STLPORT BOOST_VERSION_NUMBER_NOT_AVAILABLE
  26. #if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
  27. # undef BOOST_LIB_STD_STLPORT
  28. # if !defined(BOOST_LIB_STD_STLPORT) && defined(_STLPORT_MAJOR)
  29. # define BOOST_LIB_STD_STLPORT \
  30. BOOST_VERSION_NUMBER(_STLPORT_MAJOR,_STLPORT_MINOR,_STLPORT_PATCHLEVEL)
  31. # endif
  32. # if !defined(BOOST_LIB_STD_STLPORT) && defined(_STLPORT_VERSION)
  33. # define BOOST_LIB_STD_STLPORT BOOST_PREDEF_MAKE_0X_VRP(_STLPORT_VERSION)
  34. # endif
  35. # if !defined(BOOST_LIB_STD_STLPORT)
  36. # define BOOST_LIB_STD_STLPORT BOOST_PREDEF_MAKE_0X_VRP(__SGI_STL_PORT)
  37. # endif
  38. #endif
  39. #if BOOST_LIB_STD_STLPORT
  40. # define BOOST_LIB_STD_STLPORT_AVAILABLE
  41. #endif
  42. #define BOOST_LIB_STD_STLPORT_NAME "STLport"
  43. #endif
  44. #include <boost/predef/detail/test.h>
  45. BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_STLPORT,BOOST_LIB_STD_STLPORT_NAME)