mirror of
https://github.com/mirror/make.git
synced 2025-01-01 07:50:52 +08:00
(getdtablesize): Remove decls and macros.
This commit is contained in:
parent
294c429f93
commit
af72fc38fe
17
job.c
17
job.c
@ -124,23 +124,6 @@ extern int geteuid (), getegid ();
|
||||
extern int setgid (), getgid ();
|
||||
#endif
|
||||
|
||||
#ifndef getdtablesize
|
||||
#ifdef HAVE_GETDTABLESIZE
|
||||
extern int getdtablesize ();
|
||||
#else
|
||||
#ifdef HAVE_SYSCONF_OPEN_MAX
|
||||
#define getdtablesize() ((int) sysconf (_SC_OPEN_MAX))
|
||||
#else
|
||||
#include <sys/param.h>
|
||||
#define getdtablesize() NOFILE
|
||||
#if !defined (NOFILE) && defined (NOFILES_MAX)
|
||||
/* SCO 3.2 "devsys 4.2" defines NOFILES_{MIN,MAX} in lieu of NOFILE. */
|
||||
#define NOFILE NOFILES_MAX
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
extern int getloadavg ();
|
||||
extern int start_remote_job_p ();
|
||||
extern int start_remote_job (), remote_status ();
|
||||
|
Loading…
Reference in New Issue
Block a user