#if JOBS around a job control-related statement to allow compilation with

job control disabled.
This commit is contained in:
Tim J. Robbins 2002-05-31 13:10:38 +00:00
parent e3f3094912
commit bdfc15df5e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97664

View file

@ -529,7 +529,9 @@ makejob(union node *node __unused, int nprocs)
INTOFF;
if (njobs == 0) {
jobtab = ckmalloc(4 * sizeof jobtab[0]);
#if JOBS
jobmru = NULL;
#endif
} else {
jp = ckmalloc((njobs + 4) * sizeof jobtab[0]);
memcpy(jp, jobtab, njobs * sizeof jp[0]);