From: panne Date: Thu, 19 Dec 2002 17:57:39 +0000 (+0000) Subject: [project @ 2002-12-19 17:57:39 by panne] X-Git-Tag: Approx_11550_changesets_converted~1322 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=5af1a666354cff3c986ad8f4d6be844ac6d260dd;hp=e5f943eb14b9d5c0ced6b67ed797d602323c43bd;p=ghc-hetmet.git [project @ 2002-12-19 17:57:39 by panne] Fixed #ifdefery for GCC >= 3.x --- 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