[project @ 1999-03-02 20:04:03 by sof]
[ghc-hetmet.git] / ghc / rts / Schedule.h
index e55d038..adaf078 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: Schedule.h,v 1.3 1999/02/05 16:02:53 simonm Exp $
+ * $Id: Schedule.h,v 1.4 1999/03/02 20:04:04 sof Exp $
  *
  * (c) The GHC Team 1998-1999
  *
@@ -29,8 +29,11 @@ extern  nat context_switch;
 extern  StgTSO *run_queue_hd, *run_queue_tl;
 extern  StgTSO *blocked_queue_hd, *blocked_queue_tl;
 
+#ifdef COMPILING_RTS_MAIN
+extern DLLIMPORT StgTSO *MainTSO; /* temporary hack */
+#else
 extern StgTSO *MainTSO; /* temporary hack */
-
+#endif
 #define END_TSO_QUEUE  ((StgTSO *)(void*)&END_TSO_QUEUE_closure)
 
 #define PUSH_ON_RUN_QUEUE(tso)                 \