Module: wine Branch: master Commit: 49ee0f58e8e1f993c2fb91c088bc88a373c16e02 URL: https://source.winehq.org/git/wine.git/?a=commit;h=49ee0f58e8e1f993c2fb91c08...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Dec 27 15:01:47 2021 +0100
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
---
dlls/winecrt0/register.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winecrt0/register.c b/dlls/winecrt0/register.c index ce4167b9647..757e424fed5 100644 --- a/dlls/winecrt0/register.c +++ b/dlls/winecrt0/register.c @@ -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