Skip to content

Commit 213c54b

Browse files
committed
fix(runtime): do not include _mingw.h in unix
1 parent 67a61e5 commit 213c54b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/runtime/yk__system.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525
#define _WIN32_WINNT \
2626
0x0501// Change this to the appropriate value to target other versions of Windows.
2727
#endif
28-
/* All the headers include this file. */
29-
#ifndef _MSC_VER
28+
#if !defined(_MSC_VER) && (defined(_WIN32) || defined(_WIN64))
3029
#include <_mingw.h>
3130
#endif
3231
// clang-format on

0 commit comments

Comments
 (0)