From 040bf28e0773a748ac14427a51738bb6f07dbd95 Mon Sep 17 00:00:00 2001 From: usa Date: Tue, 24 Jun 2008 02:14:00 +0000 Subject: * include/ruby/win32.h, win32/win32.c (rb_w32_getppid): now support getppid() on win32 (but only Win2k or later). * process.c (get_ppid): remove win32 special logic. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- process.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'process.c') diff --git a/process.c b/process.c index 0a5e119d1..1f5fe62f4 100644 --- a/process.c +++ b/process.c @@ -179,11 +179,7 @@ static VALUE get_ppid(void) { rb_secure(2); -#ifdef _WIN32 - return INT2FIX(0); -#else return PIDT2NUM(getppid()); -#endif } -- cgit