diff options
Diffstat (limited to 'rts/RtsDllMain.c')
-rw-r--r-- | rts/RtsDllMain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/RtsDllMain.c b/rts/RtsDllMain.c index 2081e621a9..06c565588f 100644 --- a/rts/RtsDllMain.c +++ b/rts/RtsDllMain.c @@ -16,7 +16,7 @@ #endif /* I'd be mildly surprised if this wasn't defined, but still. */ -#if defined(__PIC__) && defined(mingw32_HOST_OS) +#if defined(COMPILING_WINDOWS_DLL) BOOL WINAPI DllMain ( HINSTANCE hInstance STG_UNUSED @@ -40,4 +40,4 @@ DllMain ( HINSTANCE hInstance STG_UNUSED return TRUE; } -#endif /* defined(__PIC__) && defined(mingw32_HOST_OS) */ +#endif |