From: simonmar Date: Tue, 24 May 2005 16:10:35 +0000 (+0000) Subject: [project @ 2005-05-24 16:10:35 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~475 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=21d384e6ce59ca9036da2f9940e43d8d29528419;p=ghc-hetmet.git [project @ 2005-05-24 16:10:35 by simonmar] Move RTS_SUPPORTS_THREADS into RtsConfig.h --- diff --git a/ghc/includes/Rts.h b/ghc/includes/Rts.h index 27331be..dc3ad69 100644 --- a/ghc/includes/Rts.h +++ b/ghc/includes/Rts.h @@ -29,10 +29,6 @@ extern "C" { #define FLEXIBLE_ARRAY 0 #endif -#if defined(SMP) || defined(THREADED_RTS) -#define RTS_SUPPORTS_THREADS 1 -#endif - /* Fix for mingw stat problem (done here so it's early enough) */ #ifdef mingw32_HOST_OS #define __MSVCRT__ 1 diff --git a/ghc/includes/RtsConfig.h b/ghc/includes/RtsConfig.h index a220973..d02093c 100644 --- a/ghc/includes/RtsConfig.h +++ b/ghc/includes/RtsConfig.h @@ -21,6 +21,10 @@ #define SUPPORT_LONG_LONGS 1 #endif +#if defined(SMP) || defined(THREADED_RTS) +#define RTS_SUPPORTS_THREADS 1 +#endif + /* * Whether the runtime system will use libbfd for debugging purposes. */