mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-01-31 03:25:08 +00:00
Treat __GNU__ line NeXT: undefine BSD and FSCALE.
This commit is contained in:
parent
7a43e6cd30
commit
b5722838c2
1 changed files with 8 additions and 2 deletions
10
getloadavg.c
10
getloadavg.c
|
@ -132,6 +132,12 @@ extern int errno;
|
||||||
# undef FSCALE
|
# undef FSCALE
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
/* Same issues as for NeXT apply to the HURD-based GNU system. */
|
||||||
|
# ifdef __GNU__
|
||||||
|
# undef BSD
|
||||||
|
# undef FSCALE
|
||||||
|
# endif /* __GNU__ */
|
||||||
|
|
||||||
/* Set values that are different from the defaults, which are
|
/* Set values that are different from the defaults, which are
|
||||||
set a little farther down with #ifndef. */
|
set a little farther down with #ifndef. */
|
||||||
|
|
||||||
|
@ -528,13 +534,13 @@ static long offset;
|
||||||
|
|
||||||
#if !defined(VMS) && !defined(sgi) && !defined(__linux__)
|
#if !defined(VMS) && !defined(sgi) && !defined(__linux__)
|
||||||
static struct nlist nl[2];
|
static struct nlist nl[2];
|
||||||
#endif
|
#endif /* Not VMS or sgi */
|
||||||
|
|
||||||
#ifdef SUNOS_5
|
#ifdef SUNOS_5
|
||||||
static kvm_t *kd;
|
static kvm_t *kd;
|
||||||
#endif /* SUNOS_5 */
|
#endif /* SUNOS_5 */
|
||||||
|
|
||||||
# endif /* LOAD_AVE_TYPE && !HAVE_LIBKSTAT */
|
#endif /* LOAD_AVE_TYPE && !HAVE_LIBKSTAT */
|
||||||
|
|
||||||
/* Put the 1 minute, 5 minute and 15 minute load averages
|
/* Put the 1 minute, 5 minute and 15 minute load averages
|
||||||
into the first NELEM elements of LOADAVG.
|
into the first NELEM elements of LOADAVG.
|
||||||
|
|
Loading…
Reference in a new issue