From edb09afda4f65a2a87599323c71668d48f28c1c4 Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 4 Oct 2007 11:47:18 +0000 Subject: * process.c (Init_process): win32 has our own WNOHANG definition, so remove unnecessary #ifdef guard. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- process.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'process.c') diff --git a/process.c b/process.c index 0bdcb426e..969221ea5 100644 --- a/process.c +++ b/process.c @@ -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); -- cgit