diff options
-rw-r--r-- | include/__config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/__config b/include/__config index bba7f53ba..639d06c9f 100644 --- a/include/__config +++ b/include/__config @@ -510,7 +510,7 @@ namespace std { #define _LIBCPP_HAS_IS_BASE_OF #endif -#if !__EXCEPTIONS +#if !__EXCEPTIONS && !defined(_LIBCPP_NO_EXCEPTIONS) #define _LIBCPP_NO_EXCEPTIONS #endif |