Skip to content

Commit eda3898

Browse files
Address review comments
1 parent df55f29 commit eda3898

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

compiler-rt/lib/builtins/cpu_model/aarch64/fmv/windows.inc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
#ifndef _ARM64_
2-
#define _ARM64_
3-
#endif
1+
#define WIN32_LEAN_AND_MEAN
2+
#include <windows.h>
43
#include <processthreadsapi.h>
54
#include <stdint.h>
65

compiler-rt/lib/builtins/cpu_model/cpu_model.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
// We're choosing init priority 90 to force our constructors to run before any
3232
// constructors in the end user application (starting at priority 101). This
3333
// value matches the libgcc choice for the same functions.
34-
#ifdef _WIN64
34+
#ifdef _WIN32
3535
// Contructor that replaces the ifunc runs currently with prio 10, see
3636
// the LowerIFuncPass. The resolver of FMV depends on the cpu features so set
3737
// the priority to 9.

0 commit comments

Comments
 (0)