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 <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2022-01-03 18:58:45 +01:00 committed by Alexandre Julliard
parent adc3492107
commit 907859d7cb

View file

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