diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-11-22 18:16:24 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-11-22 18:16:24 +0000 |
commit | 566eed2dd7a70fed709f808def974af59842c93b (patch) | |
tree | 333b953abb1169068def0b59f33770b33df71f90 /process.c | |
parent | 73aeda61bc0045d6ac603836160f5535c96c453d (diff) |
* process.c (Init_process): enable getpid and getppid on NT.
(ruby-bugs-ja:PR#152)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1102,10 +1102,10 @@ Init_process() rb_define_module_function(rb_mProcess, "wait2", proc_wait2, 0); rb_define_module_function(rb_mProcess, "waitpid", proc_waitpid, -1); rb_define_module_function(rb_mProcess, "waitpid2", proc_waitpid2, -1); +#endif /* ifndef NT */ rb_define_module_function(rb_mProcess, "pid", get_pid, 0); rb_define_module_function(rb_mProcess, "ppid", get_ppid, 0); -#endif /* ifndef NT */ rb_define_module_function(rb_mProcess, "getpgrp", proc_getpgrp, -1); rb_define_module_function(rb_mProcess, "setpgrp", proc_setpgrp, -1); |