[project @ 2002-07-16 10:58:16 by simonmar]
authorsimonmar <unknown>
Tue, 16 Jul 2002 10:58:16 +0000 (10:58 +0000)
committersimonmar <unknown>
Tue, 16 Jul 2002 10:58:16 +0000 (10:58 +0000)
Remove DLL_IMPORT from the two closure declarations in this file,
because otherwise the file is not standalone.

Doing the right thing doesn't seem easy, because we have to get the
right value of DONT_WANT_WIN32_DLLS from somewhere.  Anyway if/when
DLL support is revived we'll have to revisit this.

MERGE TO STABLE

ghc/includes/RtsAPI.h

index 33e48fb..2439a54 100644 (file)
@@ -1,5 +1,5 @@
 /* ----------------------------------------------------------------------------
- * $Id: RtsAPI.h,v 1.28 2002/07/15 08:41:02 simonmar Exp $
+ * $Id: RtsAPI.h,v 1.29 2002/07/16 10:58:16 simonmar Exp $
  *
  * (c) The GHC Team, 1998-1999
  *
@@ -122,8 +122,8 @@ rts_checkSchedStatus ( char* site, SchedulerStatus rc);
    These are used by foreign export and foreign import "wrapper" stubs.
    ----------------------------------------------------------------------- */
 
-extern DLL_IMPORT StgClosure GHCziTopHandler_runIO_closure;
-extern DLL_IMPORT StgClosure GHCziTopHandler_runNonIO_closure;
+extern StgClosure GHCziTopHandler_runIO_closure;
+extern StgClosure GHCziTopHandler_runNonIO_closure;
 #define runIO_closure            (&GHCziTopHandler_runIO_closure)
 #define runNonIO_closure         (&GHCziTopHandler_runNonIO_closure)