Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Nov 2001 17:30:05 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: malloc.h
Message-ID:  <200111082230.fA8MU5C40359@khavrinen.lcs.mit.edu>
In-Reply-To: <20011108225915.A75044@uriah.heep.sax.de>
References:  <200111080839.fA88dv740802@harmony.village.org> <200111080950.fA89oIk21059@gits.dyndns.org> <20011108225915.A75044@uriah.heep.sax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 8 Nov 2001 22:59:15 +0100, Joerg Wunsch <j@uriah.heep.sax.de> said:

> Well, no.  Solaris uses #if (__STDC__-1==0) only in connection with
> other conditions in the same #if part.  Otherwise, they use a simple
> #ifdef __STDC__ as well.

(FOO - 1 == 0) is the traditional-cpp way of saying `defined(FOO)', in
the restricted case of FOO is defined to be zero, one, or the empty
string (parsed the same as zero).

-GAWollman


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111082230.fA8MU5C40359>