From 44fde85b2496750b78939247d1d19a67c5b3dc71 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 14 Nov 2016 15:24:14 +0200 Subject: C++11-compatibility fixes and improvements --- cutl/details/config.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cutl/details/config.hxx') diff --git a/cutl/details/config.hxx b/cutl/details/config.hxx index c57c50e..40c8fba 100644 --- a/cutl/details/config.hxx +++ b/cutl/details/config.hxx @@ -25,6 +25,12 @@ # endif #endif +#ifdef LIBCUTL_CXX11 +# define LIBCUTL_NOTHROW_NOEXCEPT noexcept +#else +# define LIBCUTL_NOTHROW_NOEXCEPT throw() +#endif + #ifdef LIBCUTL_BUILD2 # ifdef _MSC_VER # include -- cgit v1.1