summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-06-01 06:59:20 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1999-06-01 06:59:20 +0000
commit2996504623d83ecb5620e7660e871a98aa9771e4 (patch)
tree1223800adb282895acdbc71d182e9f1d37ec9d6b /process.c
parent8a4cbc733114d0a51bc324b466764d10985cbd80 (diff)
downloadruby-2996504623d83ecb5620e7660e871a98aa9771e4.tar.gz
rb_exec_end_proc, etc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r--process.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/process.c b/process.c
index 91b0e4cebf..fd638ed5f8 100644
--- a/process.c
+++ b/process.c
@@ -48,6 +48,10 @@ struct timeval rb_time_timeval _((VALUE));
# include "macruby_missing.h"
#endif
+#ifdef __EMX__
+#undef HAVE_GETPGRP
+#endif
+
static VALUE
get_pid()
{
@@ -607,7 +611,7 @@ rb_f_system(argc, argv)
if (state == 0) return Qtrue;
return Qfalse;
#else
-#if defined(DJGPP)
+#if defined(DJGPP) || defined(__EMX__)
VALUE cmd;
int state;