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

job control disabled.
This commit is contained in:
tjr 2002-05-31 13:10:38 +00:00
parent 5250eaebac
commit c828fbddc6

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]);