mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-25 22:12:40 -08:00
unixsys: waitpid: fake WCONTINUED and WIFCONTINUED if not present
On some platforms with not finished POSIX support (like some old BSD) these defines / macros are not present. Fake them for compatibility.
This commit is contained in:
parent
ee3d9e584d
commit
104203e1b8
1 changed files with 12 additions and 0 deletions
|
|
@ -527,6 +527,18 @@ extern void ecl_interrupt_process(cl_object process, cl_object function);
|
|||
|
||||
/* unixsys.d */
|
||||
|
||||
/* Some old BSD systems doesn't have WCONTINUED / WIFCONTINUED */
|
||||
|
||||
#ifndef ECL_MS_WINDOWS_HOST
|
||||
# ifndef WCONTINUED
|
||||
# define WCONTINUED 0
|
||||
# endif
|
||||
|
||||
# ifndef WIFCONTINUED
|
||||
# define WIFCONTINUED() 0
|
||||
# endif
|
||||
#endif /* ECL_MS_WINDOWS_HOST */
|
||||
|
||||
/*
|
||||
* Fake several ISO C99 mathematical functions if not available
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue