ruby-changes:2135
From: ko1@a...
Date: 4 Oct 2007 20:47:46 +0900
Subject: [ruby-changes:2135] usa - Ruby:r13626 (trunk): * process.c (Init_process): win32 has our own WNOHANG definition, so
usa 2007-10-04 20:47:18 +0900 (Thu, 04 Oct 2007)
New Revision: 13626
Modified files:
trunk/ChangeLog
trunk/process.c
Log:
* process.c (Init_process): win32 has our own WNOHANG definition, so
remove unnecessary #ifdef guard.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=13626&r2=13625
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/process.c?r1=13626&r2=13625
Index: ChangeLog
===================================================================
--- ChangeLog (revision 13625)
+++ ChangeLog (revision 13626)
@@ -1,3 +1,8 @@
+Thu Oct 4 20:45:53 2007 NAKAMURA Usaku <usa@r...>
+
+ * 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@r...>
* array.c (rb_ary_permutation, rb_ary_product): support non C99
Index: process.c
===================================================================
--- process.c (revision 13625)
+++ process.c (revision 13626)
@@ -3799,7 +3799,6 @@
rb_mProcess = rb_define_module("Process");
-#if !defined(_WIN32) && !defined(DJGPP)
#ifdef WNOHANG
rb_define_const(rb_mProcess, "WNOHANG", INT2FIX(WNOHANG));
#else
@@ -3810,7 +3809,6 @@
#else
rb_define_const(rb_mProcess, "WUNTRACED", INT2FIX(0));
#endif
-#endif
rb_define_singleton_method(rb_mProcess, "exec", rb_f_exec, -1);
rb_define_singleton_method(rb_mProcess, "fork", rb_f_fork, 0);
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml