mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
src/cmd/ksh93/include/jobs.h: - The commit that removed legacy code mistakenly removed the definition of vmbusy() required for ksh to compile with -D_std_malloc. Ksh assumes vmbusy is always a macro, even when _std_malloc is defined. This commit reintroduces the _std_malloc definition of vmbusy to fix undefined reference errors.
This commit is contained in:
parent
6d0c4ac55f
commit
400c107773
1 changed files with 2 additions and 0 deletions
|
@ -120,6 +120,8 @@ extern struct jobs job;
|
|||
#else
|
||||
#define vmbusy() (vmstat(0,0)!=0)
|
||||
#endif
|
||||
#else
|
||||
#define vmbusy() 0
|
||||
#endif
|
||||
|
||||
#define job_lock() (job.in_critical++)
|
||||
|
|
Loading…
Reference in a new issue