1
Fork 0
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:
Eli Zaretskii 2016-07-11 22:52:17 +02:00 committed by Andy Wingo
parent af3796b11c
commit 1c98b78848
3 changed files with 911 additions and 3 deletions

View file

@ -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"