mirror of
https://github.com/sheumann/hush.git
synced 2025-01-11 08:29:54 +00:00
libbb: fix compile failure if both ARG_MAX and _SC_ARG_MAX are defined
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
ea23c25e96
commit
5aeae36e2b
@ -8,7 +8,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
|
|
||||||
#if defined _SC_ARG_MAX
|
#if !defined(ARG_MAX) && defined(_SC_ARG_MAX)
|
||||||
unsigned FAST_FUNC bb_arg_max(void)
|
unsigned FAST_FUNC bb_arg_max(void)
|
||||||
{
|
{
|
||||||
return sysconf(_SC_ARG_MAX);
|
return sysconf(_SC_ARG_MAX);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user