diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-04-25 10:28:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-04-25 10:28:25 +0000 |
commit | 1b67ef40c284b6b6943fdc6e1916276a5e3b59e9 (patch) | |
tree | 65f797799874c6bf3c5831dc30b7d394e0c0df04 /process.c | |
parent | a7adde7a57544625c0628136063a7110e6900fa4 (diff) | |
download | ruby-1b67ef40c284b6b6943fdc6e1916276a5e3b59e9.tar.gz |
* process.c (proc_setegid): define only if needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4897,7 +4897,7 @@ proc_getegid(VALUE obj) return GIDT2NUM(egid); } - +#if defined(HAVE_SETRESGID) || defined(HAVE_SETREGID) || defined(HAVE_SETEGID) || defined(HAVE_SETGID) || defined(_POSIX_SAVED_IDS) /* * call-seq: * Process.egid = fixnum => fixnum @@ -4932,6 +4932,7 @@ proc_setegid(VALUE obj, VALUE egid) #endif return egid; } +#endif #if defined(HAVE_SETRESGID) || defined(HAVE_SETREGID) || defined(HAVE_SETEGID) || defined(HAVE_SETGID) #define proc_setegid_m proc_setegid |