diff options
| author | Thomas Munro | 2022-07-23 21:44:29 +0000 |
|---|---|---|
| committer | Thomas Munro | 2022-07-23 21:44:29 +0000 |
| commit | e757cdd6ad1bc757df7a73616bde8d7e1cb2828a (patch) | |
| tree | 9e042c6d54c61d843d583b5ba0ae6ea78030f2a7 /configure.ac | |
| parent | fb12becdfb89e35f3f56768cefe1a837f0afafaf (diff) | |
Remove dead getpwuid_r replacement code.
getpwuid_r is in SUSv2 and all targeted Unix systems have it. We don't
use it for Windows.
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Greg Stark <stark@mit.edu>
Reviewed-by: Robert Haas <robertmhaas@gmail.com>
Discussion: https://postgr.es/m/CA+hUKGJ3LHeP9w5Fgzdr4G8AnEtJ=z=p6hGDEm4qYGEUX5B6fQ@mail.gmail.com
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index ff3ef3cf0be..61d0dd5d586 100644 --- a/configure.ac +++ b/configure.ac @@ -1214,7 +1214,7 @@ LIBS="$LIBS $PTHREAD_LIBS" AC_CHECK_HEADER(pthread.h, [], [AC_MSG_ERROR([ pthread.h not found; use --disable-thread-safety to disable thread safety])]) -AC_CHECK_FUNCS([strerror_r getpwuid_r gethostbyname_r]) +AC_CHECK_FUNCS([strerror_r gethostbyname_r]) # Do test here with the proper thread flags PGAC_FUNC_STRERROR_R_INT |
