mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 15:40:44 +00:00
#if JOBS around a job control-related statement to allow compilation with
job control disabled.
This commit is contained in:
parent
e3f3094912
commit
bdfc15df5e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97664
|
@ -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…
Reference in a new issue