diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-07-11 22:52:17 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2016-07-25 11:42:09 +0200 |
commit | 3231d7658d4086b26df53f064d374945ced46274 (patch) | |
tree | cdaa6415593d6f0c51f09a6421e2f9a0c097656c /libguile/posix.c | |
parent | b2d77c38c45794541e46c235517369a4c8b75d3b (diff) | |
download | guile-3231d7658d4086b26df53f064d374945ced46274.tar.gz |
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.
Diffstat (limited to 'libguile/posix.c')
-rw-r--r-- | libguile/posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/posix.c b/libguile/posix.c index 72f105f4b..15d2e816c 100644 --- a/libguile/posix.c +++ b/libguile/posix.c @@ -1431,7 +1431,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" |