From owner-freebsd-current Wed Nov 7 18:37:26 2001 Delivered-To: freebsd-current@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 7122537B405 for ; Wed, 7 Nov 2001 18:37:24 -0800 (PST) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.11.4/8.11.4) id fA82bGO28786; Wed, 7 Nov 2001 21:37:16 -0500 (EST) (envelope-from wollman) Date: Wed, 7 Nov 2001 21:37:16 -0500 (EST) From: Garrett Wollman Message-Id: <200111080237.fA82bGO28786@khavrinen.lcs.mit.edu> To: clefevre@citeweb.net Cc: freebsd-current@FreeBSD.ORG Subject: Re: malloc.h In-Reply-To: <200111080020.fA80Kpd99323@gits.dyndns.org> References: <200111072045.fA7KjLP70989@uriah.heep.sax.de> <200111080020.fA80Kpd99323@gits.dyndns.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG < said: > Joerg Wunsch wrote: >> Sheldon Hearn wrote: >> >> > This is how we've decided to encourage progress in this specific >> > case of header misuse. >> >> IMHO the current version of is wrong. This header >> file used to be a legitimate header file prior to ANSI C. So >> it should be >> >> #if __STDC__ > this statement is wrong. it should be > #ifdef __STDC__ > or > #if (__STDC__-0) == 0 No, it shouldn't. Leavinmg aside the correctness of the previous suggestion, anyone who explicitly defines __STDC__ to be the empty string should get what he deserves. In preprocessor expressions, any identifiers left after macro substitution are considered to have a value of zero. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message