winecrt0: Check __WINE_PE_BUILD instead of compiler macros.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52287
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-12-27 15:01:47 +01:00
parent b75bd0627e
commit 49ee0f58e8
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
static inline void *image_base(void)
{
#if defined(__MINGW32__) || defined(_MSC_VER)
#ifdef __WINE_PE_BUILD
extern IMAGE_DOS_HEADER __ImageBase;
return (void *)&__ImageBase;
#else