diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-09-22 15:19:49 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-09-22 15:19:49 +0000 |
commit | f4612ad1c8a94491a2c0fcab1777b2addcd6c551 (patch) | |
tree | 900eec4bb30e523a58cc1ec63ad0fb9a0791adf8 /gcc/dwarfout.c | |
parent | d2b708c01183437b0bcbaad26d9ad9f41c5508b5 (diff) | |
download | ppe42-gcc-f4612ad1c8a94491a2c0fcab1777b2addcd6c551.tar.gz ppe42-gcc-f4612ad1c8a94491a2c0fcab1777b2addcd6c551.zip |
(DWARF_VERSION): Define as 1 if not already defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12770 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dwarfout.c')
-rw-r--r-- | gcc/dwarfout.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/gcc/dwarfout.c b/gcc/dwarfout.c index a677698f1ac..300badea2c8 100644 --- a/gcc/dwarfout.c +++ b/gcc/dwarfout.c @@ -21,8 +21,10 @@ Boston, MA 02111-1307, USA. */ #include "config.h" -#if defined (DWARF_DEBUGGING_INFO) && (! defined (DWARF_VERSION) \ - || DWARF_VERSION != 2) +#ifndef DWARF_VERSION +#define DWARF_VERSION 1 +#endif +#if defined (DWARF_DEBUGGING_INFO) && (DWARF_VERSION != 2) #include <stdio.h> #include "dwarf.h" #include "tree.h" @@ -34,10 +36,6 @@ Boston, MA 02111-1307, USA. */ #include "output.h" #include "defaults.h" -#ifndef DWARF_VERSION -#define DWARF_VERSION 1 -#endif - /* #define NDEBUG 1 */ #include "assert.h" @@ -5732,4 +5730,4 @@ dwarfout_finish () } } -#endif /* DWARF_DEBUGGING_INFO */ +#endif /* DWARF_DEBUGGING_INFO && DWARF_VERSION != 2 */ |