diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-01 19:55:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-01 19:55:25 +0000 |
commit | 9ed3d64d1d3e0fd60c9a65d621efdf66c59b0d9d (patch) | |
tree | a22c964558bdf523fdbc872feb8c70695d150915 /process.c | |
parent | 871913462f7e6d3a74b7408ab1677e93f53b0b23 (diff) |
* suppress warnings on cygwin, mingw and mswin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1024,9 +1024,11 @@ int rb_proc_exec(str) const char *str; { +#ifndef _WIN32 const char *s = str; char *ss, *t; char **argv, **a; +#endif while (*str && ISSPACE(*str)) str++; @@ -1089,7 +1091,9 @@ proc_spawn_v(argv, prog) char **argv; char *prog; { +#if defined(__human68k__) char *extension; +#endif int status; if (!prog) @@ -1650,7 +1654,9 @@ rb_f_sleep(argc, argv) static VALUE proc_getpgrp() { +#if defined(HAVE_GETPGRP) && defined(GETPGRP_VOID) int pgrp; +#endif rb_secure(2); #if defined(HAVE_GETPGRP) && defined(GETPGRP_VOID) |