1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* process.c (Init_process): win32 has our own WNOHANG definition, so

remove unnecessary #ifdef guard.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2007-10-04 11:47:18 +00:00
parent b618f011b7
commit 57831cebe1
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Thu Oct 4 20:45:53 2007 NAKAMURA Usaku <usa@ruby-lang.org>
* process.c (Init_process): win32 has our own WNOHANG definition, so
remove unnecessary #ifdef guard.
Thu Oct 4 20:17:19 2007 NAKAMURA Usaku <usa@ruby-lang.org>
* array.c (rb_ary_permutation, rb_ary_product): support non C99

View file

@ -3799,7 +3799,6 @@ Init_process(void)
rb_mProcess = rb_define_module("Process");
#if !defined(_WIN32) && !defined(DJGPP)
#ifdef WNOHANG
rb_define_const(rb_mProcess, "WNOHANG", INT2FIX(WNOHANG));
#else
@ -3809,7 +3808,6 @@ Init_process(void)
rb_define_const(rb_mProcess, "WUNTRACED", INT2FIX(WUNTRACED));
#else
rb_define_const(rb_mProcess, "WUNTRACED", INT2FIX(0));
#endif
#endif
rb_define_singleton_method(rb_mProcess, "exec", rb_f_exec, -1);