From: sof Date: Wed, 13 Feb 2002 07:48:19 +0000 (+0000) Subject: [project @ 2002-02-13 07:48:18 by sof] X-Git-Tag: Approximately_9120_patches~86 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=7b9ff54a0ee85a3f54128e0787ad4b1d67286b01;p=ghc-hetmet.git [project @ 2002-02-13 07:48:18 by sof] moved defn of RTS_SUPPORTS_THREADS from Rts.h to Stg.h --- 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"