mirror of
https://github.com/mirror/make.git
synced 2025-01-06 02:10:35 +08:00
[__arm]: Undefine POSIX.
[!__GNU_LIBRARY__ && !POSIX && !_POSIX_VERSION]: Don't declare system functions that return int.
This commit is contained in:
parent
5bd9836fba
commit
660a23d649
10
make.h
10
make.h
@ -67,7 +67,7 @@ extern int errno;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Some systems define _POSIX_VERSION but are not really POSIX.1. */
|
/* Some systems define _POSIX_VERSION but are not really POSIX.1. */
|
||||||
#if (defined (butterfly) || \
|
#if (defined (butterfly) || defined (__arm) \
|
||||||
(defined (__mips) && defined (_SYSTYPE_SVR3)) || \
|
(defined (__mips) && defined (_SYSTYPE_SVR3)) || \
|
||||||
(defined (sequent) && defined (i386)))
|
(defined (sequent) && defined (i386)))
|
||||||
#undef POSIX
|
#undef POSIX
|
||||||
@ -304,15 +304,7 @@ extern void user_access (), make_access (), child_access ();
|
|||||||
|
|
||||||
#if !defined (__GNU_LIBRARY__) && !defined (POSIX) && !defined (_POSIX_VERSION)
|
#if !defined (__GNU_LIBRARY__) && !defined (POSIX) && !defined (_POSIX_VERSION)
|
||||||
|
|
||||||
#ifdef HAVE_SIGSETMASK
|
|
||||||
extern int sigsetmask ();
|
|
||||||
extern int sigblock ();
|
|
||||||
#endif
|
|
||||||
extern int kill ();
|
|
||||||
extern int atoi ();
|
|
||||||
extern long int atol ();
|
extern long int atol ();
|
||||||
extern int unlink (), stat (), fstat ();
|
|
||||||
extern int pipe (), close (), read (), write (), open ();
|
|
||||||
extern long int lseek ();
|
extern long int lseek ();
|
||||||
|
|
||||||
#endif /* Not GNU C library or POSIX. */
|
#endif /* Not GNU C library or POSIX. */
|
||||||
|
Loading…
Reference in New Issue
Block a user