msl.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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_MSL_H
  8. #define BOOST_PREDEF_LIBRARY_STD_MSL_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_MSL`]
  14. [@http://www.freescale.com/ Metrowerks] Standard C++ Library.
  15. Version number available as major, minor, and patch.
  16. [table
  17. [[__predef_symbol__] [__predef_version__]]
  18. [[`__MSL_CPP__`] [__predef_detection__]]
  19. [[`__MSL__`] [__predef_detection__]]
  20. [[`__MSL_CPP__`] [V.R.P]]
  21. [[`__MSL__`] [V.R.P]]
  22. ]
  23. */
  24. #define BOOST_LIB_STD_MSL BOOST_VERSION_NUMBER_NOT_AVAILABLE
  25. #if defined(__MSL_CPP__) || defined(__MSL__)
  26. # undef BOOST_LIB_STD_MSL
  27. # if defined(__MSL_CPP__)
  28. # define BOOST_LIB_STD_MSL BOOST_PREDEF_MAKE_0X_VRPP(__MSL_CPP__)
  29. # else
  30. # define BOOST_LIB_STD_MSL BOOST_PREDEF_MAKE_0X_VRPP(__MSL__)
  31. # endif
  32. #endif
  33. #if BOOST_LIB_STD_MSL
  34. # define BOOST_LIB_STD_MSL_AVAILABLE
  35. #endif
  36. #define BOOST_LIB_STD_MSL_NAME "Metrowerks"
  37. #endif
  38. #include <boost/predef/detail/test.h>
  39. BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_MSL,BOOST_LIB_STD_MSL_NAME)