aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts/i386lynx.h
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1993-09-28 01:53:25 +0000
committerStan Shebs <shebs@codesourcery.com>1993-09-28 01:53:25 +0000
commit96e39d2aaa056b4ed0072494eeca9f86b224a93d (patch)
tree4fbd7db21e32cbdf31b600a9afab5f2566d0fcd9 /bfd/hosts/i386lynx.h
parentf0fcf00aade46aebe53e6cb06058e26d75a920cc (diff)
downloadgdb-96e39d2aaa056b4ed0072494eeca9f86b224a93d.zip
gdb-96e39d2aaa056b4ed0072494eeca9f86b224a93d.tar.gz
gdb-96e39d2aaa056b4ed0072494eeca9f86b224a93d.tar.bz2
New and improved Lynx support.
Diffstat (limited to 'bfd/hosts/i386lynx.h')
-rw-r--r--bfd/hosts/i386lynx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/hosts/i386lynx.h b/bfd/hosts/i386lynx.h
index b399533..63d9579 100644
--- a/bfd/hosts/i386lynx.h
+++ b/bfd/hosts/i386lynx.h
@@ -29,4 +29,8 @@
#include "fopen-same.h"
#undef I386 /* Lynx defines this for some reason */
+/* Lynx has calloc, but no cfree, and gprof uses it. */
+
+#define cfree free
+
#endif /* hosts_i386lynx_h */