diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-12-16 20:18:34 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-12-16 20:18:34 +0300 |
commit | ca87eb4db4cabf3c46f9a599eaded138598f69a9 (patch) | |
tree | 0fb40881dfcb81561c3c3462d678c66afca8c32b | |
parent | 7ca36cc5fc510e63f5caf830433231bbccca622f (diff) |
Define BUTL_CXX17_UNCAUGHT_EXCEPTIONS for _LIBCPP_VERSION >= 1200
-rw-r--r-- | butl/config | 6 |
1 files changed, 3 insertions, 3 deletions
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. |