summaryrefslogtreecommitdiff
path: root/includes/RtsAPI.h
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 /includes/RtsAPI.h
parent6dcf001264e1488b7b3e61c332ba0f26816f4f03 (diff)
downloadhaskell-5872bf5965d591536d7d9c9f9023c4966ac6ec31.tar.gz
Working towards fixing DLLs on Win64
Diffstat (limited to 'includes/RtsAPI.h')
-rw-r--r--includes/RtsAPI.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/RtsAPI.h b/includes/RtsAPI.h
index 7f41ebc421..ca87662eb4 100644
--- a/includes/RtsAPI.h
+++ b/includes/RtsAPI.h
@@ -232,7 +232,7 @@ SchedulerStatus rts_getSchedStatus (Capability *cap);
// Note that RtsAPI.h is also included by foreign export stubs in
// the base package itself.
//
-#if defined(mingw32_HOST_OS) && defined(i386_HOST_ARCH) && defined(__PIC__) && !defined(COMPILING_BASE_PACKAGE)
+#if defined(COMPILING_WINDOWS_DLL) && !defined(COMPILING_BASE_PACKAGE)
__declspec(dllimport) extern StgWord base_GHCziTopHandler_runIO_closure[];
__declspec(dllimport) extern StgWord base_GHCziTopHandler_runNonIO_closure[];
#else