diff options
-rw-r--r-- | io.c | 2 | ||||
-rw-r--r-- | process.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -5494,8 +5494,10 @@ pipe_open(struct rb_exec_arg *eargp, VALUE prog, const char *modestr, int fmode, int write_fd = -1; #if !defined(HAVE_FORK) const char *cmd = 0; +#if !defined(_WIN32) int argc; VALUE *argv; +#endif if (prog) cmd = StringValueCStr(prog); @@ -3131,8 +3131,6 @@ rb_spawn_process(struct rb_exec_arg *earg, VALUE prog, char *errmsg, size_t errm #endif #if !defined HAVE_FORK || USE_SPAWNV struct rb_exec_arg sarg; - int argc; - VALUE *argv; #endif #if defined HAVE_FORK && !USE_SPAWNV |