summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-04 11:47:18 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-10-04 11:47:18 +0000
commit57831cebe13ed93a09e3659ce7e8425506fcc0ba (patch)
treed4a998409a81d927f09738245174b6e56ea61976 /process.c
parentb618f011b7820d64c533c8d8e9fb99cc7bec121e (diff)
* 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
Diffstat (limited to 'process.c')
-rw-r--r--process.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/process.c b/process.c
index 0bdcb426e2..969221ea56 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
@@ -3810,7 +3809,6 @@ Init_process(void)
#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);