about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-08-01 10:31:27 -0700
committerRoland McGrath <roland@hack.frob.com>2012-08-01 10:47:21 -0700
commit433851168652c0fa73168fdb7e9e19e4bd5df958 (patch)
tree80241b63e19ba33b93aa8fd5299de6dd22efc1e0 /sysdeps/generic
parentcd97c9668814f7ec6d03e3c7e3653a92b97651e6 (diff)
downloadglibc-433851168652c0fa73168fdb7e9e19e4bd5df958.tar.gz
glibc-433851168652c0fa73168fdb7e9e19e4bd5df958.tar.xz
glibc-433851168652c0fa73168fdb7e9e19e4bd5df958.zip
foo
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/sys/param.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/generic/sys/param.h b/sysdeps/generic/sys/param.h
index f6e9f431d5..c829e9767a 100644
--- 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