mirror of
https://github.com/sheumann/hush.git
synced 2024-12-23 20:29:42 +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"
|
||||
|
||||
#if defined _SC_ARG_MAX
|
||||
#if !defined(ARG_MAX) && defined(_SC_ARG_MAX)
|
||||
unsigned FAST_FUNC bb_arg_max(void)
|
||||
{
|
||||
return sysconf(_SC_ARG_MAX);
|
||||
|
Loading…
Reference in New Issue
Block a user