We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1af1977 commit 8e4bda1Copy full SHA for 8e4bda1
libc/src/__support/macros/attributes.h
@@ -17,6 +17,7 @@
17
#ifndef LLVM_LIBC_SRC___SUPPORT_MACROS_ATTRIBUTES_H
18
#define LLVM_LIBC_SRC___SUPPORT_MACROS_ATTRIBUTES_H
19
20
+#include "config.h"
21
#include "properties/architectures.h"
22
23
#ifndef __has_attribute
@@ -73,7 +74,8 @@ LIBC_THREAD_MODE_EXTERNAL.
73
74
#define LIBC_PREFERED_TYPE(TYPE)
75
#endif
76
-#if __has_attribute(ext_vector_type) && __has_feature(ext_vector_type_boolean)
77
+#if __has_attribute(ext_vector_type) && \
78
+ LIBC_HAS_FEATURE(ext_vector_type_boolean)
79
#define LIBC_HAS_VECTOR_TYPE 1
80
#else
81
#define LIBC_HAS_VECTOR_TYPE 0
0 commit comments