From 85b05cb26ce938b13c6cfbb323d67b861ee11939 Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 2 Nov 1999 17:04:28 +0000 Subject: [PATCH] [project @ 1999-11-02 17:04:28 by simonmar] make the prototypes of suspendThread and resumeThread available to the RTS. --- ghc/includes/StgMacros.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 */ -- 1.7.10.4