summaryrefslogtreecommitdiff
path: root/rts
diff options
context:
space:
mode:
Diffstat (limited to 'rts')
-rw-r--r--rts/RtsStartup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rts/RtsStartup.c b/rts/RtsStartup.c
index 8e2eac420d..b0cddbd18f 100644
--- a/rts/RtsStartup.c
+++ b/rts/RtsStartup.c
@@ -184,7 +184,9 @@ hs_init(int *argc, char **argv[])
getStablePtr((StgPtr)runSparks_closure);
getStablePtr((StgPtr)ensureIOManagerIsRunning_closure);
+#ifndef mingw32_HOST_OS
getStablePtr((StgPtr)runHandlers_closure);
+#endif
/* initialise the shared Typeable store */
initGlobalStore();