aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-11-21 21:28:01 +0000
committerKen Raeburn <raeburn@cygnus>1993-11-21 21:28:01 +0000
commit196f09704387f4b4b31763addb77dd4bdc0eab1c (patch)
tree53cc95ea351109dc7281e8c639359ded90c37496 /bfd/hosts
parentd8b8343dc78e1d32542292c60c0a4ac1ef6e8aaf (diff)
downloadgdb-196f09704387f4b4b31763addb77dd4bdc0eab1c.zip
gdb-196f09704387f4b4b31763addb77dd4bdc0eab1c.tar.gz
gdb-196f09704387f4b4b31763addb77dd4bdc0eab1c.tar.bz2
define FPRINTF_ALREADY_DECLARED
Diffstat (limited to 'bfd/hosts')
-rw-r--r--bfd/hosts/lynx.h2
-rw-r--r--bfd/hosts/sparclynx.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/bfd/hosts/lynx.h b/bfd/hosts/lynx.h
index 737c9bd..0d89a18 100644
--- a/bfd/hosts/lynx.h
+++ b/bfd/hosts/lynx.h
@@ -27,6 +27,8 @@
#include "fopen-same.h"
+#define FPRINTF_ALREADY_DECLARED
+
#undef I386 /* Lynx defines this for some reason */
/* Lynx has calloc, but no cfree, and gprof uses it. */
diff --git a/bfd/hosts/sparclynx.h b/bfd/hosts/sparclynx.h
index 78e6ac8..4e5696a 100644
--- a/bfd/hosts/sparclynx.h
+++ b/bfd/hosts/sparclynx.h
@@ -28,6 +28,8 @@
#include "fopen-same.h"
+#define FPRINTF_ALREADY_DECLARED
+
/* Lynx has calloc, but no cfree, and gprof uses it. */
#define cfree free