gcc_xml.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_COMPILER_GCC_XML_H
  8. #define BOOST_PREDEF_COMPILER_GCC_XML_H
  9. #include <boost/predef/version_number.h>
  10. #include <boost/predef/make.h>
  11. /*`
  12. [heading `BOOST_COMP_GCCXML`]
  13. [@http://www.gccxml.org/ GCC XML] compiler.
  14. [table
  15. [[__predef_symbol__] [__predef_version__]]
  16. [[`__GCCXML__`] [__predef_detection__]]
  17. ]
  18. */
  19. #define BOOST_COMP_GCCXML BOOST_VERSION_NUMBER_NOT_AVAILABLE
  20. #if defined(__GCCXML__)
  21. # define BOOST_COMP_GCCXML_DETECTION BOOST_VERSION_NUMBER_AVAILABLE
  22. #endif
  23. #ifdef BOOST_COMP_GCCXML_DETECTION
  24. # if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED)
  25. # define BOOST_COMP_GCCXML_EMULATED BOOST_COMP_GCCXML_DETECTION
  26. # else
  27. # undef BOOST_COMP_GCCXML
  28. # define BOOST_COMP_GCCXML BOOST_COMP_GCCXML_DETECTION
  29. # endif
  30. # define BOOST_COMP_GCCXML_AVAILABLE
  31. # include <boost/predef/detail/comp_detected.h>
  32. #endif
  33. #define BOOST_COMP_GCCXML_NAME "GCC XML"
  34. #endif
  35. #include <boost/predef/detail/test.h>
  36. BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_GCCXML,BOOST_COMP_GCCXML_NAME)
  37. #ifdef BOOST_COMP_GCCXML_EMULATED
  38. #include <boost/predef/detail/test.h>
  39. BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_GCCXML_EMULATED,BOOST_COMP_GCCXML_NAME)
  40. #endif