OSDN Git Service

Check DWARF_VERSION macro.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Jul 1996 00:28:44 +0000 (00:28 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Jul 1996 00:28:44 +0000 (00:28 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12524 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/dwarfout.c

index 65115c0..0853a41 100644 (file)
@@ -21,7 +21,8 @@ Boston, MA 02111-1307, USA.  */
 
 #include "config.h"
 
-#ifdef DWARF_DEBUGGING_INFO
+#if defined (DWARF_DEBUGGING_INFO) && (! defined (DWARF_VERSION) \
+                                      || DWARF_VERSION != 2)
 #include <stdio.h>
 #include "dwarf.h"
 #include "tree.h"