From 5af1a666354cff3c986ad8f4d6be844ac6d260dd Mon Sep 17 00:00:00 2001 From: panne Date: Thu, 19 Dec 2002 17:57:39 +0000 Subject: [PATCH] [project @ 2002-12-19 17:57:39 by panne] Fixed #ifdefery for GCC >= 3.x --- ghc/includes/Rts.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghc/includes/Rts.h b/ghc/includes/Rts.h index af2217c..d6f5eb9 100644 --- a/ghc/includes/Rts.h +++ b/ghc/includes/Rts.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Rts.h,v 1.21 2002/12/12 15:03:42 simonmar Exp $ + * $Id: Rts.h,v 1.22 2002/12/19 17:57:39 panne Exp $ * * (c) The GHC Team, 1998-1999 * @@ -84,7 +84,7 @@ extern void* GetFiberData ( void ); -------------------------------------------------------------------------- */ #ifdef __GNUC__ /* Avoid spurious warnings */ -#if __GNUC__ >= 2 && __GNUC_MINOR__ >= 7 +#if (__GNUC__ == 2 && __GNUC_MINOR__ >= 7) || __GNUC__ >= 3 #define STG_NORETURN __attribute__ ((noreturn)) #define STG_UNUSED __attribute__ ((unused)) #else -- 1.7.10.4