foo
authorRoland McGrath <roland@hack.frob.com>
Wed, 1 Aug 2012 17:31:27 +0000 (10:31 -0700)
committerRoland McGrath <roland@hack.frob.com>
Wed, 1 Aug 2012 17:47:21 +0000 (10:47 -0700)
sysdeps/generic/sys/param.h

index f6e9f43..c829e97 100644 (file)
    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