//
// This is included from within the individual compiler mini-configs.
-#ifndef __EDG_VERSION__
+#ifndef __EDG_VERSION__
# error This file requires that __EDG_VERSION__ be defined.
#endif
# define BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
#endif
-# if !defined(__EXCEPTIONS)
+#if (__EDG_VERSION__ <= 245) && !defined(BOOST_NO_TEMPLATE_TEMPLATES)
+# define BOOST_NO_TEMPLATE_TEMPLATES
+#endif
+
+// See also kai.hpp which checks a Kai-specific symbol for EH
+# if !defined(__KCC) && !defined(__EXCEPTIONS)
# define BOOST_NO_EXCEPTIONS
# endif