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. */