projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd97c96
)
foo
author
Roland McGrath
<roland@hack.frob.com>
Wed, 1 Aug 2012 17:31:27 +0000
(10:31 -0700)
committer
Roland McGrath
<roland@hack.frob.com>
Wed, 1 Aug 2012 17:47:21 +0000
(10:47 -0700)
sysdeps/generic/sys/param.h
patch
|
blob
|
history
diff --git
a/sysdeps/generic/sys/param.h
b/sysdeps/generic/sys/param.h
index
f6e9f43
..
c829e97
100644
(file)
--- a/
sysdeps/generic/sys/param.h
+++ b/
sysdeps/generic/sys/param.h
@@
-35,8
+35,12
@@
for the values which are not statically limited, such as NOFILE. */
#define NBBY CHAR_BIT
-#define NGROUPS NGROUPS_MAX
-#define MAXSYMLINKS SYMLOOP_MAX
+#ifdef NGROUPS_MAX
+# define NGROUPS NGROUPS_MAX
+#endif
+#ifdef SYMLOOP_MAX
+# define MAXSYMLINKS SYMLOOP_MAX
+#endif
#define CANBSIZ MAX_CANON /* XXX ? */
/* ARG_MAX is unlimited, but we define NCARGS for BSD programs that want to