From: simonmar Date: Tue, 2 Nov 1999 17:04:28 +0000 (+0000) Subject: [project @ 1999-11-02 17:04:28 by simonmar] X-Git-Tag: Approximately_9120_patches~5611 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=85b05cb26ce938b13c6cfbb323d67b861ee11939;p=ghc-hetmet.git [project @ 1999-11-02 17:04:28 by simonmar] make the prototypes of suspendThread and resumeThread available to the RTS. --- diff --git a/ghc/includes/StgMacros.h b/ghc/includes/StgMacros.h index b14ab43..2d46443 100644 --- a/ghc/includes/StgMacros.h +++ b/ghc/includes/StgMacros.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: StgMacros.h,v 1.14 1999/11/02 15:05:52 simonmar Exp $ + * $Id: StgMacros.h,v 1.15 1999/11/02 17:04:28 simonmar Exp $ * * (c) The GHC Team, 1998-1999 * @@ -702,6 +702,8 @@ LoadThreadState (void) # endif } +#endif /* NO_REGS */ + /* * Suspending/resuming threads for doing external C-calls (_ccall_GC). * These functions are defined in rts/Schedule.c. @@ -709,7 +711,5 @@ LoadThreadState (void) StgInt suspendThread ( StgRegTable *cap ); StgRegTable * resumeThread ( StgInt ); -#endif /* NO_REGS */ - #endif /* STGMACROS_H */