From e282fcb3992097bb1433bc41bd3b5bd1dfafc4d2 Mon Sep 17 00:00:00 2001 From: sof Date: Thu, 31 Jan 2002 10:48:55 +0000 Subject: [PATCH] [project @ 2002-01-31 10:48:55 by sof] new define, RTS_SUPPORTS_THREADS - defined in SMP and 'threaded' modes of operation --- ghc/includes/Rts.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ghc/includes/Rts.h b/ghc/includes/Rts.h index 32e48d2..f298fa3 100644 --- a/ghc/includes/Rts.h +++ b/ghc/includes/Rts.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Rts.h,v 1.15 2001/11/25 03:56:39 sof Exp $ + * $Id: Rts.h,v 1.16 2002/01/31 10:48:55 sof Exp $ * * (c) The GHC Team, 1998-1999 * @@ -74,6 +74,13 @@ extern "C" { #endif /* ----------------------------------------------------------------------------- + Derived defines + -------------------------------------------------------------------------- */ +#if defined(SMP) || defined(THREADED_RTS) +#define RTS_SUPPORTS_THREADS 1 +#endif + +/* ----------------------------------------------------------------------------- Attributes -------------------------------------------------------------------------- */ -- 1.7.10.4