From 562f256c54dbb1a0a26699ba3dceba24062a9b11 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 18 Feb 2007 04:13:09 +0000 Subject: * configure.in (pid_t, uid_t, gid_t): check if defined. * intern.h, process.c, rubyio.h, ext/etc/etc.c, ext/pty/pty.c: use rb_{pid,uid,gid}_t instead of plain int. [ruby-dev:30376] * ext/etc/extconf.rb (PIDT2NUM, NUM2PIDT, UIDT2NUM, NUM2UIDT, GIDT2NUM, NUM2GIDT): moved to configure.in. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/win32.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'win32/win32.c') diff --git a/win32/win32.c b/win32/win32.c index 827af77b59..0554c4206d 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -840,7 +840,7 @@ rb_w32_pipe_exec(const char *cmd, const char *prog, int mode, int *pipe) return ret; } -int +rb_pid_t rb_w32_spawn(int mode, const char *cmd, const char *prog) { struct ChildRecord *child; @@ -877,7 +877,7 @@ rb_w32_spawn(int mode, const char *cmd, const char *prog) } } -int +rb_pid_t rb_w32_aspawn(int mode, const char *prog, char *const *argv) { int len = rb_w32_argv_size(argv); @@ -2952,7 +2952,7 @@ poll_child_status(struct ChildRecord *child, int *stat_loc) } rb_pid_t -waitpid (rb_pid_t pid, int *stat_loc, int options) +waitpid(rb_pid_t pid, int *stat_loc, int options) { DWORD timeout; -- cgit v1.2.3