mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
win32: Declared wait and fixed the return type
This commit is contained in:
parent
260d626ef6
commit
90dd482061
@ -304,7 +304,8 @@ extern int rb_w32_usymlink(const char *src, const char *link);
|
||||
extern int gettimeofday(struct timeval *, struct timezone *);
|
||||
extern int clock_gettime(clockid_t, struct timespec *);
|
||||
extern int clock_getres(clockid_t, struct timespec *);
|
||||
extern rb_pid_t waitpid (rb_pid_t, int *, int);
|
||||
extern rb_pid_t waitpid(rb_pid_t, int *, int);
|
||||
extern rb_pid_t wait(int *);
|
||||
extern rb_pid_t rb_w32_uspawn(int, const char *, const char*);
|
||||
extern rb_pid_t rb_w32_uaspawn(int, const char *, char *const *);
|
||||
extern rb_pid_t rb_w32_uaspawn_flags(int, const char *, char *const *, DWORD);
|
||||
|
||||
@ -5211,7 +5211,7 @@ symlink(const char *src, const char *link)
|
||||
}
|
||||
|
||||
/* License: Ruby's */
|
||||
int
|
||||
rb_pid_t
|
||||
wait(int *status)
|
||||
{
|
||||
return waitpid(-1, status, 0);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user