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"
This commit is contained in:
unknown 2004-02-09 23:20:21 +04:00
commit ae8e10d6e5
2 changed files with 12 additions and 0 deletions

View file

@ -50,6 +50,12 @@ void *alloca ();
# endif /* HAVE_ALLOCA_H */ # endif /* HAVE_ALLOCA_H */
#endif #endif
#ifndef BFD_TRUE_FALSE
#define boolean bfd_boolean
#define true TRUE
#define false FALSE
#endif
/* bucomm.c */ /* bucomm.c */
void bfd_nonfatal PARAMS ((CONST char *)); void bfd_nonfatal PARAMS ((CONST char *));

View file

@ -24,6 +24,12 @@
#include <stdio.h> #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. */ /* Routine used to read generic debugging information. */
extern PTR read_debugging_info PARAMS ((bfd *, asymbol **, long)); extern PTR read_debugging_info PARAMS ((bfd *, asymbol **, long));