Skip to content

Commit 68ad15b

Browse files
authored
[Fix][μKernels] ARM build break issue (#1074)
This `PR` fixes `arm` build issues triggered part of PR: #1073
1 parent a9e087d commit 68ad15b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tools/check-cpuid/check-cpuid.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#include <stdio.h>
2+
3+
#if defined(__x86_64__) || defined(__i386__)
24
#include <cpuid.h>
35

46
int main() {
@@ -13,4 +15,8 @@ int main() {
1315

1416
return 0;
1517
}
16-
18+
#else
19+
int main() { // skip arm architecture
20+
return 0;
21+
}
22+
#endif

0 commit comments

Comments
 (0)