diff options
author | Ian Lynagh <igloo@earth.li> | 2012-05-06 02:21:17 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-05-06 02:21:17 +0100 |
commit | 5872bf5965d591536d7d9c9f9023c4966ac6ec31 (patch) | |
tree | b094059aae7dcdfc3ffa873c4e923a2db8141021 /includes/RtsAPI.h | |
parent | 6dcf001264e1488b7b3e61c332ba0f26816f4f03 (diff) | |
download | haskell-5872bf5965d591536d7d9c9f9023c4966ac6ec31.tar.gz |
Working towards fixing DLLs on Win64
Diffstat (limited to 'includes/RtsAPI.h')
-rw-r--r-- | includes/RtsAPI.h | 2 |
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 |