Commit 49ee0f58 authored by Alexandre Julliard's avatar Alexandre Julliard

winecrt0: Check __WINE_PE_BUILD instead of compiler macros.

parent b75bd062
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment