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 df55f29 commit eda3898Copy full SHA for eda3898
compiler-rt/lib/builtins/cpu_model/aarch64/fmv/windows.inc
@@ -1,6 +1,5 @@
1
-#ifndef _ARM64_
2
-#define _ARM64_
3
-#endif
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
4
#include <processthreadsapi.h>
5
#include <stdint.h>
6
compiler-rt/lib/builtins/cpu_model/cpu_model.h
@@ -31,7 +31,7 @@
31
// We're choosing init priority 90 to force our constructors to run before any
32
// constructors in the end user application (starting at priority 101). This
33
// value matches the libgcc choice for the same functions.
34
-#ifdef _WIN64
+#ifdef _WIN32
35
// Contructor that replaces the ifunc runs currently with prio 10, see
36
// the LowerIFuncPass. The resolver of FMV depends on the cpu features so set
37
// the priority to 9.
0 commit comments