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:
parent
b75bd0627e
commit
49ee0f58e8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue