Check DWARF_VERSION macro.
authorJim Wilson <wilson@gcc.gnu.org>
Fri, 19 Jul 1996 00:28:44 +0000 (17:28 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Fri, 19 Jul 1996 00:28:44 +0000 (17:28 -0700)
From-SVN: r12524

gcc/dwarfout.c

index 65115c0c6422fbf5c701692ae9a32608e569ee4d..0853a41bc05e4f7cc417806dcf6641349f8109ea 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"