ruby-changes:11641
From: nobu <ko1@a...>
Date: Sat, 25 Apr 2009 18:27:09 +0900 (JST)
Subject: [ruby-changes:11641] Ruby:r23279 (trunk): * process.c (proc_seteuid): define only if needed.
nobu 2009-04-25 18:26:58 +0900 (Sat, 25 Apr 2009) New Revision: 23279 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23279 Log: * process.c (proc_seteuid): define only if needed. Modified files: trunk/process.c Index: process.c =================================================================== --- process.c (revision 23278) +++ process.c (revision 23279) @@ -4777,7 +4777,7 @@ 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 @@ #endif return euid; } +#endif #if defined(HAVE_SETRESUID) || defined(HAVE_SETREUID) || defined(HAVE_SETEUID) || defined(HAVE_SETUID) #define proc_seteuid_m proc_seteuid -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/