#if JOBS around a job control-related statement to allow compilation with
job control disabled.
This commit is contained in:
parent
5250eaebac
commit
c828fbddc6
@ -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]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user