mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-23 20:05:32 +02:00
Add POSIX shims for MinGW
* libguile/posix-w32.h: * libguile/posix-w32.c (kill, waitpid, getpriority, setpriority) (sched_getaffinity, sched_setaffinity): Add MinGW implementations. Also, provides macros that on Posix hosts are in sys/wait.h, like WIFEXITED and WTERMSIG. (start_child): Add implementation.
This commit is contained in:
parent
af3796b11c
commit
1c98b78848
3 changed files with 911 additions and 3 deletions
|
@ -1430,7 +1430,7 @@ scm_open_process (SCM mode, SCM prog, SCM args)
|
|||
#undef FUNC_NAME
|
||||
#endif /* HAVE_START_CHILD */
|
||||
|
||||
#if defined (HAVE_UNAME) || defined (__MINGW32__)
|
||||
#ifdef HAVE_UNAME
|
||||
SCM_DEFINE (scm_uname, "uname", 0, 0, 0,
|
||||
(),
|
||||
"Return an object with some information about the computer\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue