gcc_xml.hpp 913 B

123456789101112131415161718192021222324252627282930
  1. // (C) Copyright John Maddock 2006.
  2. // Use, modification and distribution are subject to the
  3. // Boost Software License, Version 1.0. (See accompanying file
  4. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  5. // See http://www.boost.org for most recent version.
  6. // GCC-XML C++ compiler setup:
  7. # if !defined(__GCCXML_GNUC__) || ((__GCCXML_GNUC__ <= 3) && (__GCCXML_GNUC_MINOR__ <= 3))
  8. # define BOOST_NO_IS_ABSTRACT
  9. # endif
  10. //
  11. // Threading support: Turn this on unconditionally here (except for
  12. // those platforms where we can know for sure). It will get turned off again
  13. // later if no threading API is detected.
  14. //
  15. #if !defined(__MINGW32__) && !defined(_MSC_VER) && !defined(linux) && !defined(__linux) && !defined(__linux__)
  16. # define BOOST_HAS_THREADS
  17. #endif
  18. //
  19. // gcc has "long long"
  20. //
  21. #define BOOST_HAS_LONG_LONG
  22. #define BOOST_COMPILER "GCC-XML C++ version " __GCCXML__