We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 407954e + 2ebf99f commit 7449116Copy full SHA for 7449116
1 file changed
include/xtl/xtl_config.hpp
@@ -22,11 +22,16 @@
22
#if (defined(__cpp_exceptions) || defined(__EXCEPTIONS) || defined(_CPPUNWIND)) && !defined(XTL_NO_EXCEPTIONS)
23
// Exceptions are enabled.
24
#else
25
+#if !defined(XTL_NO_EXCEPTIONS)
26
// Exceptions are disabled.
27
#define XTL_NO_EXCEPTIONS
28
#endif
29
+#endif
30
31
#if defined(XTL_NO_EXCEPTIONS)
32
+
33
+#include <iostream>
34
35
#define XTL_THROW(_, msg) \
36
{ \
37
std::cerr << msg << std::endl; \
0 commit comments