* hosts/sparc.h (abort, exit): Hide these names if compiling with
gcc version 2, to avoid warnings.
This commit is contained in:
parent
ce07dd7c0c
commit
458c48278a
@ -12,7 +12,13 @@
|
||||
#define SEEK_SET 0
|
||||
#define SEEK_CUR 1
|
||||
#ifdef __STDC__
|
||||
#if __GNUC__ >= 2
|
||||
#define abort __hide_abort
|
||||
#define exit __hide_exit
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
#undef exit
|
||||
#undef abort
|
||||
#include <string.h>
|
||||
#else
|
||||
extern char *EXFUN(mktemp,(CONST char*));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user