diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2018-08-02 17:33:33 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2018-08-02 17:33:33 +0000 |
commit | 315d10f09ee888005b1da55e7bbb57d8a79b8447 (patch) | |
tree | 99a16e8c2272e507281e63fac5970e0548df04ea /include/__config | |
parent | f36202620b428c45a1c8d91743727c9313424fb2 (diff) | |
download | src-test2-315d10f09ee888005b1da55e7bbb57d8a79b8447.tar.gz src-test2-315d10f09ee888005b1da55e7bbb57d8a79b8447.zip |
Notes
Diffstat (limited to 'include/__config')
-rw-r--r-- | include/__config | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/__config b/include/__config index c01ac12be4b8..639d06c9f5d7 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 @@ -620,6 +620,8 @@ namespace std { #define _LIBCPP_ALWAYS_INLINE __forceinline +#define _LIBCPP_HAS_NO_VECTOR_EXTENSION + #elif defined(_LIBCPP_COMPILER_IBM) #define _ALIGNAS(x) __attribute__((__aligned__(x))) @@ -652,6 +654,8 @@ namespace std { #define _LIBCPP_ALWAYS_INLINE __attribute__ ((__always_inline__)) +#define _LIBCPP_HAS_NO_VECTOR_EXTENSION + #endif // _LIBCPP_COMPILER_[CLANG|GCC|MSVC|IBM] #if _LIBCPP_STD_VER >= 17 |