summaryrefslogtreecommitdiff
path: root/rts/RtsDllMain.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/RtsDllMain.c')
-rw-r--r--rts/RtsDllMain.c5
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
)
{
/*