From 55c157da550407d4792900ba1d831b129f474153 Mon Sep 17 00:00:00 2001 From: michal Date: Wed, 28 Aug 2002 08:05:23 +0000 Subject: Int vs Long cleanup #3 (ruby-core:352) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- process.c | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'process.c') diff --git a/process.c b/process.c index 7385ec94b..9d98bc587 100644 --- a/process.c +++ b/process.c @@ -831,8 +831,7 @@ rb_f_system(argc, argv) if (status == 0) return Qtrue; return Qfalse; -#else -#ifdef DJGPP +#elif defined(DJGPP) VALUE cmd; int status; @@ -855,10 +854,8 @@ rb_f_system(argc, argv) if (status == 0) return Qtrue; return Qfalse; -#else -#if defined(__human68k__) +#elif defined(__human68k__) VALUE prog = 0; - int i; int status; fflush(stdin); @@ -885,8 +882,7 @@ rb_f_system(argc, argv) } last_status_set(status == -1 ? 127 : status); return status == 0 ? Qtrue : Qfalse; -#else -#if defined(__VMS) +#elif defined(__VMS) VALUE cmd; int status; @@ -962,10 +958,7 @@ rb_f_system(argc, argv) if (NUM2INT(rb_last_status) == 0) return Qtrue; return Qfalse; -#endif /* __VMS */ -#endif /* __human68k__ */ -#endif /* DJGPP */ -#endif /* NT */ +#endif } static VALUE -- cgit