From 7b9ff54a0ee85a3f54128e0787ad4b1d67286b01 Mon Sep 17 00:00:00 2001 From: sof Date: Wed, 13 Feb 2002 07:48:19 +0000 Subject: [PATCH] [project @ 2002-02-13 07:48:18 by sof] moved defn of RTS_SUPPORTS_THREADS from Rts.h to Stg.h --- ghc/includes/Rts.h | 9 +-------- ghc/includes/Stg.h | 6 +++++- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/ghc/includes/Rts.h b/ghc/includes/Rts.h index f298fa3..97924dc 100644 --- a/ghc/includes/Rts.h +++ b/ghc/includes/Rts.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Rts.h,v 1.16 2002/01/31 10:48:55 sof Exp $ + * $Id: Rts.h,v 1.17 2002/02/13 07:48:18 sof Exp $ * * (c) The GHC Team, 1998-1999 * @@ -74,13 +74,6 @@ extern "C" { #endif /* ----------------------------------------------------------------------------- - Derived defines - -------------------------------------------------------------------------- */ -#if defined(SMP) || defined(THREADED_RTS) -#define RTS_SUPPORTS_THREADS 1 -#endif - -/* ----------------------------------------------------------------------------- Attributes -------------------------------------------------------------------------- */ diff --git a/ghc/includes/Stg.h b/ghc/includes/Stg.h index 4597a5a..636bb1e 100644 --- a/ghc/includes/Stg.h +++ b/ghc/includes/Stg.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Stg.h,v 1.44 2001/12/06 10:00:01 sewardj Exp $ + * $Id: Stg.h,v 1.45 2002/02/13 07:48:19 sof Exp $ * * (c) The GHC Team, 1998-1999 * @@ -40,6 +40,10 @@ #define FLEXIBLE_ARRAY 0 #endif +#if defined(SMP) || defined(THREADED_RTS) +#define RTS_SUPPORTS_THREADS 1 +#endif + /* Some macros to handle DLLing (Win32 only at the moment). */ #include "StgDLL.h" -- 1.7.10.4