summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-08 00:26:53 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-08 00:26:53 +0000
commit7fd6f82fe1ccc7dbaf839ccc19560eea3109a35a (patch)
tree40ff71ef596049cc063441bd43b87229fbb77dc7 /process.c
parentf79876e194bb44a302a205ef5a91ad951a56e376 (diff)
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
Diffstat (limited to 'process.c')
-rw-r--r--process.c2
1 files changed, 1 insertions, 1 deletions
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