]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Formerly job.c.~91~
authorRoland McGrath <roland@redhat.com>
Thu, 21 Jan 1993 23:27:00 +0000 (23:27 +0000)
committerRoland McGrath <roland@redhat.com>
Thu, 21 Jan 1993 23:27:00 +0000 (23:27 +0000)
job.c

diff --git a/job.c b/job.c
index 816a2178accfcf5fb1add51340aec1d3bb2673a4..8f32229511a6ee1bc9536e6eb107938a009bf2ce 100644 (file)
--- a/job.c
+++ b/job.c
@@ -28,6 +28,11 @@ static char default_path[] = ":/bin:/usr/bin";
 /* Default shell to use.  */
 char default_shell[] = "/bin/sh";
 
+/* If NGROUPS_MAX == 0 then try other methods for finding a real value.  */
+#if defined (NGROUPS_MAX) && NGROUPS_MAX == 0
+#undef NGROUPS_MAX
+#endif /* NGROUPS_MAX == 0 */
+
 #ifndef        NGROUPS_MAX
 #ifdef POSIX
 #define        GET_NGROUPS_MAX sysconf (_SC_NGROUPS_MAX)