summaryrefslogtreecommitdiff
path: root/pstack/budbg.h
diff options
context:
space:
mode:
authorunknown <vva@eagle.mysql.r18.ru>2004-02-09 23:20:21 +0400
committerunknown <vva@eagle.mysql.r18.ru>2004-02-09 23:20:21 +0400
commitcaec76d69b088d54eecb18fca9bf50d7e9ded550 (patch)
tree3e74b970f38073e1db7ab4e55804a96ff9c248a4 /pstack/budbg.h
parenteff79eea7d1f239b8b9c1f223abd3dfb7ea4a198 (diff)
downloadmariadb-git-caec76d69b088d54eecb18fca9bf50d7e9ded550.tar.gz
fixed Bug #1661 "Compiling --with-pstack fails with binutils"
pstack/bucomm.h: added safe definition of boolean,true and false as fix for Bug #1661 "Compiling --with-pstack fails with binutils" pstack/budbg.h: added safe definition of boolean,true and false as fix for Bug #1661 "Compiling --with-pstack fails with binutils"
Diffstat (limited to 'pstack/budbg.h')
-rw-r--r--pstack/budbg.h6
1 files changed, 6 insertions, 0 deletions
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));