+2003-10-21 Bruno Haible <bruno@clisp.org>
+
+ * wait-process.c (kill): Define appropriately for native Woe32 API.
+
2003-10-21 Bruno Haible <bruno@clisp.org>
* mkdtemp.c (mkdir): Redefine on mingw.
#define SIZEOF(a) (sizeof(a) / sizeof(a[0]))
+#if defined _MSC_VER || defined __MINGW32__
+
+/* The return value of spawnvp() is really a process handle as returned
+ by CreateProcess(). Therefore we can kill it using TerminateProcess. */
+#define kill(pid,sig) TerminateProcess ((HANDLE) (pid), sig)
+
+#endif
+
+
+void
+register_slave_subprocess (pid_t child)
+
/* Type of an entry in the slaves array.
The 'used' bit determines whether this entry is currently in use.
(If pid_t was an atomic type like sig_atomic_t, we could just set the