Commit 6ba95bc9 by Richard Kenner

(DWARF_VERSION): Define as 1 if not already defined.

From-SVN: r12770
parent 410bd698
......@@ -21,8 +21,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, 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 "dwarf2.h"
#include "tree.h"
......
......@@ -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 */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment