commit f697923c4876dc682b0801ad319f517e0ab29362 from: Alexander Barton date: Mon Mar 15 19:26:39 2004 UTC Fixed detection of GNU C version and usability of __attribute__. commit - af77ce70b66f14889706a9ce104bcdeae86ad0f9 commit + f697923c4876dc682b0801ad319f517e0ab29362 blob - edf2ca86681abaabb001e95be486a3946270929d blob + cb50bbd62eaa296c3d1c7f582f28a3d85e51d4cc --- src/portab/portab.h +++ src/portab/portab.h @@ -8,7 +8,7 @@ * (at your option) any later version. * Please read the file COPYING, README and AUTHORS for more information. * - * $Id: portab.h,v 1.16 2004/01/17 03:22:46 alex Exp $ + * $Id: portab.h,v 1.17 2004/03/15 19:26:39 alex Exp $ * * Portability functions and declarations (header for libngbportab). */ @@ -27,7 +27,7 @@ /* compiler features */ -#if (__GNUC__ > 2 || (__GNUC == 2 && __GNUC_MINOR >= 7)) +#if (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 7)) # define PUNUSED(x) __attribute__ ((unused)) x # define UNUSED __attribute__ ((unused)) #else