bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] sysctl.h: avoid including on glibc


From: Bruno Haible
Subject: Re: [PATCH] sysctl.h: avoid including on glibc
Date: Sun, 02 Feb 2020 17:40:47 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-171-generic; KDE/5.18.0; x86_64; ; )

Pádraig Brady wrote:
> +2020-02-02  Pádraig Brady  <address@hidden>
> +
> +     sysctl.h: avoid including on glibc
> +     * lib/nproc.c: Avoid including deprecated and unneeded header on GLIBC.
> +     * lib/physmem.c: Likewise.

Looks good. The sysctl() invocations below are not enabled on glibc systems,
because glibc does not define HW_NCPU, HW_PHYSMEM, HW_USERMEM.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]