Correct BOOST_NO_EXCEPTIONS for KAI

[SVN r15414]
This commit is contained in:
Dave Abrahams
2002-09-17 17:37:31 +00:00
parent 61cc49fd2f
commit 8c49d00328
2 changed files with 7 additions and 1 deletions

View File

@ -30,7 +30,8 @@
# define BOOST_NO_TEMPLATE_TEMPLATES
#endif
# if !defined(__EXCEPTIONS)
// See also kai.hpp which checks a Kai-specific symbol for EH
# if !defined(__KCC) && !defined(__EXCEPTIONS)
# define BOOST_NO_EXCEPTIONS
# endif

View File

@ -14,6 +14,11 @@
# define BOOST_NO_STDC_NAMESPACE
# endif
// see also common_edg.hpp which needs a special check for __KCC
# if !defined(_EXCEPTIONS)
# define BOOST_NO_EXCEPTIONS
# endif
#define BOOST_COMPILER "Kai C++ version " BOOST_STRINGIZE(__KCC_VERSION)
//