From 7fd6f82fe1ccc7dbaf839ccc19560eea3109a35a Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 8 Feb 2013 00:26:53 +0000 Subject: [PATCH] process.c: ix typo * process.c (USE_GETPWNAM_R): fix typo. _SC_GETPW_R_SIZE_MAX instead of same macro twice. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/process.c b/process.c index 8d22f45e3c..c52562274c 100644 --- a/process.c +++ b/process.c @@ -145,7 +145,7 @@ static void check_gid_switch(void); #endif #if defined(HAVE_PWD_H) -# if defined(HAVE_GETPWNAM_R) && defined(HAVE_GETPWNAM_R) +# if defined(HAVE_GETPWNAM_R) && defined(_SC_GETPW_R_SIZE_MAX) # define USE_GETPWNAM_R 1 # endif # ifdef USE_GETPWNAM_R