mirror of
https://github.com/MariaDB/server.git
synced 2026-04-30 04:05:32 +02:00
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:
parent
faa8a41b1d
commit
ae8e10d6e5
2 changed files with 12 additions and 0 deletions
|
|
@ -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 @@
|
||||||
|
|
||||||
#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));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue