summaryrefslogtreecommitdiff
path: root/pstack
diff options
context:
space:
mode:
authorvva@eagle.mysql.r18.ru <>2004-02-09 23:20:21 +0400
committervva@eagle.mysql.r18.ru <>2004-02-09 23:20:21 +0400
commita069dbd5e7a2a4102ff8667f0cf6f18e8a4b3a17 (patch)
tree3e74b970f38073e1db7ab4e55804a96ff9c248a4 /pstack
parentd13ad0822e606888737353740612c4ebfc4ab25d (diff)
downloadmariadb-git-a069dbd5e7a2a4102ff8667f0cf6f18e8a4b3a17.tar.gz
fixed Bug #1661 "Compiling --with-pstack fails with binutils"
Diffstat (limited to 'pstack')
-rw-r--r--pstack/bucomm.h6
-rw-r--r--pstack/budbg.h6
2 files changed, 12 insertions, 0 deletions
diff --git a/pstack/bucomm.h b/pstack/bucomm.h
index 7712a70f5a2..6b3633d8d63 100644
--- a/pstack/bucomm.h
+++ b/pstack/bucomm.h
@@ -50,6 +50,12 @@ void *alloca ();
# endif /* HAVE_ALLOCA_H */
#endif
+#ifndef BFD_TRUE_FALSE
+#define boolean bfd_boolean
+#define true TRUE
+#define false FALSE
+#endif
+
/* bucomm.c */
void bfd_nonfatal PARAMS ((CONST char *));
diff --git a/pstack/budbg.h b/pstack/budbg.h
index d8ee8895e76..9f0203ad5e7 100644
--- a/pstack/budbg.h
+++ b/pstack/budbg.h
@@ -24,6 +24,12 @@
#include <stdio.h>
+#ifndef BFD_TRUE_FALSE
+#define boolean bfd_boolean
+#define true TRUE
+#define false FALSE
+#endif
+
/* Routine used to read generic debugging information. */
extern PTR read_debugging_info PARAMS ((bfd *, asymbol **, long));