Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 1997 00:52:25 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG, imp@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.sbin/lpr/common_source common.c displayq.c rmjob.c startdaemon.c src/usr.sbin/lpr/lpc cmds.c src/usr.sbin/lpr/lpd printjob.c recvjob.c src/usr.sbin/lpr/lpr lpr.c
Message-ID:  <199707291452.AAA05890@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>  common.c:
>  OpenBSD 1.7: mickey: #if __STDC__ --> #ifdef __STDC__
>  ...

`#if __STDC__' was correct.  `if __STDC__ == 1' would have been
more correct.  If __STDC__ is defined as anything other than 1, then
nonstandardness is guaranteed.

`#ifdef __STDC__' works too.  However, in /usr/src, there are 864
instancs of `#if __STDC__' and 1004 instances of '#ifdef __STDC__',
not to mention 73 instances of '#if defined(__STDC__)' and 48 instances
of '#if defined (__STDC__)'.  Do you really wish to change them all?
(y or n) :-).  Most of the ifdefs are from Sun and Gnu.

Bruce



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