From ca87eb4db4cabf3c46f9a599eaded138598f69a9 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 16 Dec 2016 20:18:34 +0300 Subject: Define BUTL_CXX17_UNCAUGHT_EXCEPTIONS for _LIBCPP_VERSION >= 1200 --- butl/config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'butl') diff --git a/butl/config b/butl/config index 71ebd23..02209c5 100644 --- a/butl/config +++ b/butl/config @@ -31,10 +31,10 @@ #if defined(_MSC_VER) # define BUTL_CXX17_UNCAUGHT_EXCEPTIONS // -// Clang's libc++ seems to have it for a while so we assume it's there (it -// doesn't define a feature test macros). +// Clang's libc++ seems to have it for a while (but not before 1200) so we +// assume it's there from 1200 (it doesn't define a feature test macros). // -#elif defined(_LIBCPP_VERSION) +#elif _LIBCPP_VERSION >= 1200 # define BUTL_CXX17_UNCAUGHT_EXCEPTIONS // // GCC libstdc++ has it since GCC 6 and it defines the feature test macro. -- cgit v1.1