summaryrefslogtreecommitdiff
path: root/rts/RtsDllMain.c
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-05-06 02:21:17 +0100
committerIan Lynagh <igloo@earth.li>2012-05-06 02:21:17 +0100
commit5872bf5965d591536d7d9c9f9023c4966ac6ec31 (patch)
treeb094059aae7dcdfc3ffa873c4e923a2db8141021 /rts/RtsDllMain.c
parent6dcf001264e1488b7b3e61c332ba0f26816f4f03 (diff)
downloadhaskell-5872bf5965d591536d7d9c9f9023c4966ac6ec31.tar.gz
Working towards fixing DLLs on Win64
Diffstat (limited to 'rts/RtsDllMain.c')
-rw-r--r--rts/RtsDllMain.c4
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