Commit ae8e10d6 authored by unknown's avatar unknown

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"
parent faa8a41b
...@@ -50,6 +50,12 @@ void *alloca (); ...@@ -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 *));
......
...@@ -24,6 +24,12 @@ ...@@ -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));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment