diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-04-25 09:26:58 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-04-25 09:26:58 +0000 |
commit | 16acb620227bd7313300f45b9dbec946ab7b1914 (patch) | |
tree | c5c113dd0dd6b054bc2a0e847a4c417308982182 /process.c | |
parent | 1d103770c6e14914a85cf1c9232f130b7df8eaf4 (diff) | |
download | ruby-16acb620227bd7313300f45b9dbec946ab7b1914.tar.gz |
* process.c (proc_seteuid): define only if needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4777,7 +4777,7 @@ proc_geteuid(VALUE obj) return UIDT2NUM(euid); } - +#if defined(HAVE_SETRESUID) || defined(HAVE_SETREUID) || defined(HAVE_SETEUID) || defined(HAVE_SETUID) || defined(_POSIX_SAVED_IDS) /* * call-seq: * Process.euid= integer @@ -4812,6 +4812,7 @@ proc_seteuid(VALUE obj, VALUE euid) #endif return euid; } +#endif #if defined(HAVE_SETRESUID) || defined(HAVE_SETREUID) || defined(HAVE_SETEUID) || defined(HAVE_SETUID) #define proc_seteuid_m proc_seteuid |