From 907859d7cb8852a914b18251db2aae9449bece54 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 3 Jan 2022 18:58:45 +0100 Subject: [PATCH] msvcrt: Use __WINE_PE_BUILD in crt_gccmain.c. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52292 Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- dlls/msvcrt/crt_gccmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msvcrt/crt_gccmain.c b/dlls/msvcrt/crt_gccmain.c index ed25f385d1b..88ca2874732 100644 --- a/dlls/msvcrt/crt_gccmain.c +++ b/dlls/msvcrt/crt_gccmain.c @@ -22,7 +22,7 @@ #pragma makedep implib #endif -#ifdef __MINGW32__ +#ifdef __WINE_PE_BUILD /* mingw compilers emit call to __main() when main() function is defined. * it's used by crt to call global constructors and register global destructors. */