fix Windows build (GHC.Conc.runHandlers is Unix-only)
authorSimon Marlow <marlowsd@gmail.com>
Wed, 27 Jan 2010 14:57:18 +0000 (14:57 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 27 Jan 2010 14:57:18 +0000 (14:57 +0000)
rts/RtsStartup.c

index 8e2eac4..b0cddbd 100644 (file)
@@ -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();