Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  4 May 1995 11:54:35 +0300 (UKR)
From:      "Dmitry S. Kohmanyuk" <dk@farm.cs.kiev.ua>
To:        joerg_wunsch@uriah.heep.sax.de, freebsd-hackers@FreeBSD.org
Subject:   Re: GNU cpp bug with pthreads
Message-ID:  <ABBP9gl8VP@farm.cs.kiev.ua>
References:  <D812tw.3Jn@monolit.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

J Wunsch <j@uriah.heep.sax.de> wrote:
>
>As patl@asimov.lashley.slip.netcom.com wrote:
>>
>> Actually, if you really want to be safe, it should be:
>>
>>      #if defined(__STDC__) && (__STDC__ == 1)
>
>Ok, i give up here. :-)

I recommend the SunOS /usr/include hack of:

#if __STDC__ -1 > -1

this works with__STDC__ undef'ed, defined to 0, 1, and even 2 (as Pat said)


--
				A(bort), R(etry), I(nstall FreeBSD)? _




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