summaryrefslogtreecommitdiff
path: root/rts/RtsDllMain.c
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-07-13 14:10:34 +0000
committerIan Lynagh <igloo@earth.li>2010-07-13 14:10:34 +0000
commitd15229b75a07cf1092402f87950a1887c6429f3a (patch)
treeef7fba6dd0e221ecf97093996083f4252c647afc /rts/RtsDllMain.c
parentdf1fecb95e3a0cf901184605da96dc8ae092b173 (diff)
downloadhaskell-d15229b75a07cf1092402f87950a1887c6429f3a.tar.gz
Change some TARGET tests to HOST tests in the RTS
Which was being used seemed to be random
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 592eb09d26..2081e621a9 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_TARGET_OS)
+#if defined(__PIC__) && defined(mingw32_HOST_OS)
BOOL
WINAPI
DllMain ( HINSTANCE hInstance STG_UNUSED
@@ -40,4 +40,4 @@ DllMain ( HINSTANCE hInstance STG_UNUSED
return TRUE;
}
-#endif /* defined(__PIC__) && defined(mingw32_TARGET_OS) */
+#endif /* defined(__PIC__) && defined(mingw32_HOST_OS) */