This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Fix name clash for ! __STDC__
- To: alan at linuxcare dot com dot au
- Subject: Re: Fix name clash for ! __STDC__
- From: Nick Clifton <nickc at cygnus dot com>
- Date: Fri, 2 Jun 2000 10:47:14 -0700
- CC: binutils at sourceware dot cygnus dot com
Hi Alan,
: I'd like to apply the following to fix a problem when using old
: compilers.
: #ifdef __STDC__
: #define START_RELOC_NUMBERS(name) enum name { _##name = -1
: #else
: -#define START_RELOC_NUMBERS(name) enum name { name = -1
: +#define START_RELOC_NUMBERS(name) enum name { _/**/name = -1
: #endif
Is this guarnateed to work with old K&R compilers ?
I have no objections otherwise, so if you are sure that it will work,
then please go ahead and check it in.
Cheers
Nick