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 e680a1d commit 628d5f0Copy full SHA for 628d5f0
src/aegis/common/common.h
@@ -24,7 +24,11 @@
24
# if __ANDROID_API__ < 18
25
# undef HAVE_GETAUXVAL
26
# endif
27
-# define HAVE_ANDROID_GETCPUFEATURES
+# if defined(__clang__) || defined(__GNUC__)
28
+# if __has_include(<cpu-features.h>)
29
+# define HAVE_ANDROID_GETCPUFEATURES
30
+# endif
31
32
#endif
33
#if defined(__i386__) || defined(_M_IX86) || defined(__x86_64__) || defined(_M_X64) || defined(_M_AMD64)
34
0 commit comments