summaryrefslogtreecommitdiff
path: root/rts/Exception.cmm
diff options
context:
space:
mode:
authorClemens Fruhwirth <clemens@endorphin.org>2007-08-10 15:10:45 +0000
committerClemens Fruhwirth <clemens@endorphin.org>2007-08-10 15:10:45 +0000
commit4d93c987a690eda8fbd9d2e4c7b103005dd8836a (patch)
treeea4d487e85a7c5d69d58bb7a9d4cb6ac6519f6f3 /rts/Exception.cmm
parent82f8341d3d87d9127c968baa9c3376e3f26caa81 (diff)
downloadhaskell-4d93c987a690eda8fbd9d2e4c7b103005dd8836a.tar.gz
Properly guard imports because they have to be precise on Windows and Darwin sets __PIC__ automatically
Diffstat (limited to 'rts/Exception.cmm')
-rw-r--r--rts/Exception.cmm2
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/Exception.cmm b/rts/Exception.cmm
index f3564e453f..e6c0c0ff35 100644
--- a/rts/Exception.cmm
+++ b/rts/Exception.cmm
@@ -13,7 +13,9 @@
#include "Cmm.h"
#include "RaiseAsync.h"
+#ifdef __PIC__
import base_GHCziBase_True_closure;
+#endif
/* -----------------------------------------------------------------------------
Exception Primitives