Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: basesrc



In article 
<Pine.GSO.4.05.9910300105340.6021-100000%rfhs8036.fh-regensburg.de@localhost>,
Hubert Feyrer <hubert.feyrer%rz.uni-regensburg.de@localhost> wrote:
>On Fri, 29 Oct 1999, Michael Graff wrote:
>> Modified Files:
>>      basesrc/usr.bin/yacc: skeleton.c
>> 
>> Log Message:
>> defined(__NetBSD__) && defined(__RCSID)
>
>Um, is the defined() function to #if available on all platforms?
>It seems to me that
>#ifdef __NetBSD__
>#ifdef __RCSID
>...
>#endif
>#endif
>
>is a bit more on the save side.

defined() exists in all modern cpp implementations; if it does not exist
on the cpp you are using, chances are that the yacc build will break
somewhere else!

christos



Home | Main Index | Thread Index | Old Index