Fix name clash for ! __STDC__
Alan Modra
alan@linuxcare.com.au
Thu Jun 1 20:41:00 GMT 2000
More information about the Binutils mailing list
Thu Jun 1 20:41:00 GMT 2000
- Previous message (by thread): gcc wince header files/.a
- Next message (by thread): Fix name clash for ! __STDC__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'd like to apply the following to fix a problem when using old
compilers.
--
Linuxcare. Support for the Revolution.
include/elf/ChangeLog
* reloc-macros.h (START_RELOC_NUMBERS): Fix name clash.
Index: elf/reloc-macros.h
===================================================================
RCS file: /cvs/src/src/include/elf/reloc-macros.h,v
retrieving revision 1.2
diff -u -p -r1.2 reloc-macros.h
--- reloc-macros.h 1999/05/28 10:47:30 1.2
+++ reloc-macros.h 2000/06/02 03:16:47
@@ -1,5 +1,5 @@
/* Generic relocation support for BFD.
- Copyright (C) 1998 Free Software Foundation, Inc.
+ Copyright (C) 1998, 2000 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -103,6 +103,6 @@ name (rtype) \
#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
#define RELOC_NUMBER(name, number) , name = number
- Previous message (by thread): gcc wince header files/.a
- Next message (by thread): Fix name clash for ! __STDC__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list