File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler-rt/lib/builtins/cpu_model Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ _Bool __aarch64_have_lse_atomics = false;
4747#elif defined(__ANDROID__ )
4848#include "aarch64/hwcap.inc"
4949#include "aarch64/lse_atomics/android.inc"
50- #elif __has_include (< sys /auxv .h > )
50+ #elif defined( __linux__ ) && __has_include (< sys /auxv .h > )
5151#include "aarch64/hwcap.inc"
5252#include "aarch64/lse_atomics/sysauxv.inc"
5353#else
@@ -80,7 +80,7 @@ __attribute__((__visibility__("hidden"), __nocommon__))
8080#elif defined(__ANDROID__ )
8181#include "aarch64/fmv/mrs.inc"
8282#include "aarch64/fmv/android.inc"
83- #elif __has_include (< sys /auxv .h > )
83+ #elif defined( __linux__ ) && __has_include (< sys /auxv .h > )
8484#include "aarch64/fmv/mrs.inc"
8585#include "aarch64/fmv/sysauxv.inc"
8686#else
You can’t perform that action at this time.
0 commit comments