mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
f79876e194
commit
7fd6f82fe1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue