mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
* hosts/sparc.h (abort, exit): Hide these names if compiling with
gcc version 2, to avoid warnings.
This commit is contained in:
@ -12,7 +12,13 @@
|
|||||||
#define SEEK_SET 0
|
#define SEEK_SET 0
|
||||||
#define SEEK_CUR 1
|
#define SEEK_CUR 1
|
||||||
#ifdef __STDC__
|
#ifdef __STDC__
|
||||||
|
#if __GNUC__ >= 2
|
||||||
|
#define abort __hide_abort
|
||||||
|
#define exit __hide_exit
|
||||||
|
#endif
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#undef exit
|
||||||
|
#undef abort
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#else
|
#else
|
||||||
extern char *EXFUN(mktemp,(CONST char*));
|
extern char *EXFUN(mktemp,(CONST char*));
|
||||||
|
Reference in New Issue
Block a user