* cgen-trace.h: Test __BFD_H_SEEN__ rather than BFD_VERSION.
authorAlan Modra <amodra@gmail.com>
Mon, 14 Oct 2002 10:55:39 +0000 (10:55 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 14 Oct 2002 10:55:39 +0000 (10:55 +0000)
sim/common/ChangeLog
sim/common/cgen-trace.h

index ae252fd..eb38a7b 100644 (file)
@@ -1,3 +1,7 @@
+2002-10-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * cgen-trace.h: Test __BFD_H_SEEN__ rather than BFD_VERSION.
+
 2002-08-29  Dave Brolley  <brolley@redhat.com>
 
        * Make-common.in (CGEN_READ_SCM): Remove ../../cgen/stamp-cgen.
index 5e796fb..be1dd1d 100644 (file)
@@ -78,7 +78,7 @@ typedef struct {
 extern int sim_disasm_sprintf (SFILE *, const char *, ...);
 
 /* For opcodes based disassemblers.  */
-#ifdef BFD_VERSION
+#ifdef __BFD_H_SEEN__
 struct disassemble_info;
 extern int
 sim_disasm_read_memory (bfd_vma memaddr_, bfd_byte *myaddr_, int length_,