diff options
author | Ian Lynagh <igloo@earth.li> | 2010-03-20 23:14:14 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-03-20 23:14:14 +0000 |
commit | 624e821201ed68425c906358f8d45a69f4e61093 (patch) | |
tree | 7b5f7144826dd344b4a186cadac6ff6fb0e10242 /rts/RtsDllMain.c | |
parent | e95140a5c350360b1f8e3f1e789ec4a5eebf95f3 (diff) | |
download | haskell-624e821201ed68425c906358f8d45a69f4e61093.tar.gz |
Enable shared libraries on Windows; fixes trac #3879
Diffstat (limited to 'rts/RtsDllMain.c')
-rw-r--r-- | rts/RtsDllMain.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rts/RtsDllMain.c b/rts/RtsDllMain.c index 3e5af6864e..592eb09d26 100644 --- a/rts/RtsDllMain.c +++ b/rts/RtsDllMain.c @@ -9,6 +9,7 @@ #include "PosixSource.h" #include "Rts.h" #include "RtsAPI.h" +#include "RtsDllMain.h" #ifdef HAVE_WINDOWS_H #include <windows.h> @@ -18,9 +19,9 @@ #if defined(__PIC__) && defined(mingw32_TARGET_OS) BOOL WINAPI -DllMain ( HINSTANCE hInstance +DllMain ( HINSTANCE hInstance STG_UNUSED , DWORD reason - , LPVOID reserved + , LPVOID reserved STG_UNUSED ) { /* |