From 93d061a8fd774022f654f4d8fd72963647381920 Mon Sep 17 00:00:00 2001 From: kosaki Date: Sun, 12 May 2013 08:42:19 +0000 Subject: [PATCH] * process.c: move '#define SPAWNV 1' to win32/Makefile.sub. * win32/Makefile.sub: see above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ process.c | 4 ---- win32/Makefile.sub | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 019e73d206..84f4dcd4ef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun May 12 17:18:46 2013 KOSAKI Motohiro + + * process.c: move '#define SPAWNV 1' to win32/Makefile.sub. + * win32/Makefile.sub: see above. + Sun May 12 17:13:32 2013 KOSAKI Motohiro * configure.in: removes AC_CHECK_FUNCS(setitimer) because it's diff --git a/process.c b/process.c index 13b1c778cd..f71886415e 100644 --- a/process.c +++ b/process.c @@ -1356,10 +1356,6 @@ static const rb_data_type_t exec_arg_data_type = { {mark_exec_arg, free_exec_arg, memsize_exec_arg}, }; -#if defined(_WIN32) -#define HAVE_SPAWNV 1 -#endif - #if !defined(HAVE_FORK) && defined(HAVE_SPAWNV) # define USE_SPAWNV 1 #else diff --git a/win32/Makefile.sub b/win32/Makefile.sub index f7771616bc..e753045aa8 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -634,6 +634,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub #define HAVE_MEMCMP 1 #define HAVE_MEMMOVE 1 #define HAVE_MKDIR 1 +#define HAVE_SPAWNV 1 #define HAVE_STRCASECMP 1 #define HAVE_STRNCASECMP 1 #define HAVE_STRERROR 1