#if defined _MSC_VER || defined __MINGW32__
-/* Native Woe32 API. */
-
-int
-wait_subprocess (pid_t child, const char *progname, bool exit_on_error)
-{
- /* Not yet implemented. Should probably use _cwait. */
- return 127;
-}
-
-#else
-
-/* Unix API. */
-
-#if defined _MSC_VER || defined __MINGW32__
-
/* Native Woe32 API. */
#include <process.h>
#define waitpid(pid,statusp,options) _cwait (statusp, pid, WAIT_CHILD)
}
return WEXITSTATUS (status);
}
-
-#endif /* Woe32 / Unix */