Subject: Re: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: source-changes
Date: 10/30/1999 15:00:49
In article <Pine.GSO.4.05.9910300105340.6021-100000@rfhs8036.fh-regensburg.de>,
Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de> 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