X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fportab%2Fportab.h;h=456c2129234ffa1f0c82796730565b1c7afa286a;hp=24cefc51f31d37bd4458091167b907722aaa5a0c;hb=6725d7893ca62007ba828b9d8eb94e81f275a880;hpb=11c4e786fa80ce72ebc1e65511f396a6048a9271 diff --git a/src/portab/portab.h b/src/portab/portab.h index 24cefc51..456c2129 100644 --- a/src/portab/portab.h +++ b/src/portab/portab.h @@ -9,7 +9,7 @@ * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. * - * $Id: portab.h,v 1.8 2002/10/09 16:53:30 alex Exp $ + * $Id: portab.h,v 1.9 2002/12/12 11:26:08 alex Exp $ * * portab.h: "Portabilitaets-Definitionen" */ @@ -24,6 +24,13 @@ /* Compiler Features */ +#ifdef __GNUC__ +# define PUNUSED(x) __attribute__ ((unused)) x +# define UNUSED __attribute__ ((unused)) +#else +# define PUNUSED(x) x +# define UNUSED +#endif #ifndef PARAMS # if PROTOTYPES