From: Roland McGrath Date: Thu, 21 Jan 1993 23:27:00 +0000 (+0000) Subject: Formerly job.c.~91~ X-Git-Tag: 3.70.2~426 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2370f7984646d501b1e51eb9dc924119b292797c;p=thirdparty%2Fmake.git Formerly job.c.~91~ --- diff --git a/job.c b/job.c index 816a2178..8f322295 100644 --- 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)