summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--glib/glibmmconfig.h.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/glib/glibmmconfig.h.in b/glib/glibmmconfig.h.in
index 65304cc8..241aea36 100644
--- a/glib/glibmmconfig.h.in
+++ b/glib/glibmmconfig.h.in
@@ -112,6 +112,11 @@
# define GLIBMM_EXCEPTIONS_ENABLED 1
# define GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED 1
# pragma warning (disable: 4786 4355 4800 4181)
+
+#if (_MSC_VER < 1900) && !defined (noexcept)
+#define _ALLOW_KEYWORD_MACROS 1
+#define noexcept _NOEXCEPT
+#endif
#endif
/* Dummy macro definition for compatibility with old code that expects