[project @ 2002-02-14 16:58:13 by sof]
authorsof <unknown>
Thu, 14 Feb 2002 16:58:13 +0000 (16:58 +0000)
committersof <unknown>
Thu, 14 Feb 2002 16:58:13 +0000 (16:58 +0000)
as per simonpj request, add mingw protos to avoid -Wmissing-declarations warnings

ghc/includes/Rts.h

index 97924dc..38953a3 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: Rts.h,v 1.17 2002/02/13 07:48:18 sof Exp $
+ * $Id: Rts.h,v 1.18 2002/02/14 16:58:13 sof Exp $
  *
  * (c) The GHC Team, 1998-1999
  *
@@ -45,6 +45,14 @@ extern "C" {
 /* declarations for runtime flags/values */
 #define MAX_RTS_ARGS 32
 
+#ifdef _WIN32
+/* On the yucky side..suppress -Wmissing-declarations warnings when
+ * including <windows.h>
+ */
+extern void* GetCurrentFiber ( void );
+extern void* GetFiberData ( void );
+#endif
+
 /* -----------------------------------------------------------------------------
    Assertions and Debuggery
    -------------------------------------------------------------------------- */