kai.hpp 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. // (C) Copyright John Maddock 2001.
  2. // (C) Copyright David Abrahams 2002.
  3. // (C) Copyright Aleksey Gurtovoy 2002.
  4. // Use, modification and distribution are subject to the
  5. // Boost Software License, Version 1.0. (See accompanying file
  6. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  7. // See http://www.boost.org for most recent version.
  8. // Kai C++ compiler setup:
  9. #include <boost/config/compiler/common_edg.hpp>
  10. # if (__KCC_VERSION <= 4001) || !defined(BOOST_STRICT_CONFIG)
  11. // at least on Sun, the contents of <cwchar> is not in namespace std
  12. # define BOOST_NO_STDC_NAMESPACE
  13. # endif
  14. // see also common_edg.hpp which needs a special check for __KCC
  15. # if !defined(_EXCEPTIONS) && !defined(BOOST_NO_EXCEPTIONS)
  16. # define BOOST_NO_EXCEPTIONS
  17. # endif
  18. //
  19. // last known and checked version is 4001:
  20. #if (__KCC_VERSION > 4001)
  21. # if defined(BOOST_ASSERT_CONFIG)
  22. # error "boost: Unknown compiler version - please run the configure tests and report the results"
  23. # endif
  24. #endif