From caec76d69b088d54eecb18fca9bf50d7e9ded550 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 9 Feb 2004 23:20:21 +0400 Subject: 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" --- pstack/bucomm.h | 6 ++++++ pstack/budbg.h | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'pstack') 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 +#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)); -- cgit v1.2.1