projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea23c25
)
libbb: fix compile failure if both ARG_MAX and _SC_ARG_MAX are defined
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 25 Jun 2014 13:39:27 +0000
(15:39 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 25 Jun 2014 13:39:27 +0000
(15:39 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/sysconf.c
patch
|
blob
|
history
diff --git
a/libbb/sysconf.c
b/libbb/sysconf.c
index 4dbffbebdd1472499aa7546338fe88fb4dc8b81e..031901980337dc65ad22e9195ffbdd0b19fca987 100644
(file)
--- a/
libbb/sysconf.c
+++ b/
libbb/sysconf.c
@@
-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);