Commit 7b9ff54a authored by sof's avatar sof
Browse files

[project @ 2002-02-13 07:48:18 by sof]

moved defn of RTS_SUPPORTS_THREADS from Rts.h to Stg.h
parent d1447bea
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
* $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 * (c) The GHC Team, 1998-1999
* *
...@@ -73,13 +73,6 @@ extern "C" { ...@@ -73,13 +73,6 @@ extern "C" {
#define IF_PAR_DEBUG(c,s) doNothing() #define IF_PAR_DEBUG(c,s) doNothing()
#endif #endif
/* -----------------------------------------------------------------------------
Derived defines
-------------------------------------------------------------------------- */
#if defined(SMP) || defined(THREADED_RTS)
#define RTS_SUPPORTS_THREADS 1
#endif
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
Attributes Attributes
-------------------------------------------------------------------------- */ -------------------------------------------------------------------------- */
......
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
* $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 * (c) The GHC Team, 1998-1999
* *
...@@ -40,6 +40,10 @@ ...@@ -40,6 +40,10 @@
#define FLEXIBLE_ARRAY 0 #define FLEXIBLE_ARRAY 0
#endif #endif
#if defined(SMP) || defined(THREADED_RTS)
#define RTS_SUPPORTS_THREADS 1
#endif
/* Some macros to handle DLLing (Win32 only at the moment). */ /* Some macros to handle DLLing (Win32 only at the moment). */
#include "StgDLL.h" #include "StgDLL.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment