From 433851168652c0fa73168fdb7e9e19e4bd5df958 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 1 Aug 2012 10:31:27 -0700 Subject: [PATCH] foo --- sysdeps/generic/sys/param.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sysdeps/generic/sys/param.h b/sysdeps/generic/sys/param.h index f6e9f43..c829e97 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 -- 2.7.4