Compiling on old Digital Unix

horio shoichi horio@acm.org
Mon, 23 Oct 2000 02:57:21 +0900


Brian Salter-Duke wrote:

>
> On Sat, Oct 21, 2000 at 10:54:42PM -0500, David Champion wrote:
> > On 2000.10.21, in <20001022104951.A22431@lacebark.ntu.edu.au>,
> >
> > On some platforms you get a neat compromise by changing:
> > #if foo
> > #ifndef bar
> > #endif /* !bar */
> > #endif /* foo? */
> >
> > to:
> > #if foo
> > # ifndef bar
> > # endif /* !bar */
> > #endif /* foo? */
> >
> > Does that work with the Digital compiler?
>
> Yes, it seems to. I altered a nested set two deep in g10/gpgv.c and it
> gave no errors and the object and executable were the same size, so I
> guess they are equivalent.
>
> Editing to that format however is just a difficult, but I guess it is
> more readable.
>
sed 's/^\([ ][ ]*\)#/#\1/' src >tmp mv tmp src horio shoichi -- Archive is at http://lists.gnupg.org - Unsubscribe by sending mail with a subject of "unsubscribe" to gnupg-users-request@gnupg.org