X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=rts%2FRtsDllMain.c;h=2081e621a921306e2b71c049d276c2a6a04ac528;hp=3e5af6864e3cf5424573c7859fa3a5f4a0cfc71f;hb=cf5905ea24904cf73a041fd7535e8723a668cb9a;hpb=158e71360bfad8b8ee037e0f6ab81a6e8ced2e03 diff --git a/rts/RtsDllMain.c b/rts/RtsDllMain.c index 3e5af68..2081e62 100644 --- a/rts/RtsDllMain.c +++ b/rts/RtsDllMain.c @@ -9,18 +9,19 @@ #include "PosixSource.h" #include "Rts.h" #include "RtsAPI.h" +#include "RtsDllMain.h" #ifdef HAVE_WINDOWS_H #include #endif /* I'd be mildly surprised if this wasn't defined, but still. */ -#if defined(__PIC__) && defined(mingw32_TARGET_OS) +#if defined(__PIC__) && defined(mingw32_HOST_OS) BOOL WINAPI -DllMain ( HINSTANCE hInstance +DllMain ( HINSTANCE hInstance STG_UNUSED , DWORD reason - , LPVOID reserved + , LPVOID reserved STG_UNUSED ) { /* @@ -39,4 +40,4 @@ DllMain ( HINSTANCE hInstance return TRUE; } -#endif /* defined(__PIC__) && defined(mingw32_TARGET_OS) */ +#endif /* defined(__PIC__) && defined(mingw32_HOST_OS) */