[libc++abi] Avoid the warning: "__EXCEPTIONS" is not defined, evaluates to 0 [-Werror=undef]
Differential Revision: https://reviews.llvm.org/D108896
This commit is contained in:
parent
0e42ec1add
commit
ed4946fe20
|
@ -93,7 +93,7 @@
|
||||||
# if !__has_feature(cxx_exceptions)
|
# if !__has_feature(cxx_exceptions)
|
||||||
# define _LIBCXXABI_NO_EXCEPTIONS
|
# define _LIBCXXABI_NO_EXCEPTIONS
|
||||||
# endif
|
# endif
|
||||||
#elif defined(_LIBCXXABI_COMPILER_GCC) && !__EXCEPTIONS
|
#elif defined(_LIBCXXABI_COMPILER_GCC) && !defined(__EXCEPTIONS)
|
||||||
# define _LIBCXXABI_NO_EXCEPTIONS
|
# define _LIBCXXABI_NO_EXCEPTIONS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue