summaryrefslogtreecommitdiff
path: root/rts/Interpreter.c
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-03-16 23:03:02 +0000
committerIan Lynagh <igloo@earth.li>2012-03-16 23:03:02 +0000
commit7a60d63582cfb54dac941c0c7bc96343503f4f7e (patch)
tree1bd34a3aea1889f313de4ce5b8ab09dc067190a5 /rts/Interpreter.c
parentd66b9cb07b0e03282c8010bcf76168e64cb4acde (diff)
downloadhaskell-7a60d63582cfb54dac941c0c7bc96343503f4f7e.tar.gz
Soem more Wind64 fixes
We may need to do this differently once we get as far as building the RTS in the dyn ways.
Diffstat (limited to 'rts/Interpreter.c')
-rw-r--r--rts/Interpreter.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/rts/Interpreter.c b/rts/Interpreter.c
index 2eac1cd834..a18e7caa8d 100644
--- a/rts/Interpreter.c
+++ b/rts/Interpreter.c
@@ -31,9 +31,11 @@
// When building the RTS in the non-dyn way on Windows, we don't
// want declspec(__dllimport__) on the front of function prototypes
// from libffi.
-#if defined(mingw32_HOST_OS) && !defined(__PIC__)
+#if defined(mingw32_HOST_OS)
+#if (defined(i386_HOST_ARCH) && !defined(__PIC__)) || defined(x86_64_HOST_ARCH)
# define LIBFFI_NOT_DLL
#endif
+#endif
#include "ffi.h"