summaryrefslogtreecommitdiff
path: root/lib/unistd.in.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-01-04 13:13:25 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2022-01-04 13:17:25 -0800
commitc899d9742a3dee2069eb3a4ee9380833b5574a95 (patch)
tree4f3bb33a1ed54c49b0e70241f662e5efe29bdb45 /lib/unistd.in.h
parenta0263cfee3cf64f4a77f90591af7ef7d8d78d8db (diff)
downloademacs-c899d9742a3dee2069eb3a4ee9380833b5574a95.tar.gz
emacs-c899d9742a3dee2069eb3a4ee9380833b5574a95.tar.bz2
emacs-c899d9742a3dee2069eb3a4ee9380833b5574a95.zip
Update from gnulib
Diffstat (limited to 'lib/unistd.in.h')
-rw-r--r--lib/unistd.in.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/unistd.in.h b/lib/unistd.in.h
index b626eb41e4a..3386f0b0f75 100644
--- a/lib/unistd.in.h
+++ b/lib/unistd.in.h
@@ -1409,7 +1409,8 @@ _GL_WARN_ON_USE (getpagesize, "getpagesize is unportable - "
Read a password from /dev/tty or stdin.
Function getpass() from module 'getpass-gnu':
Read a password of arbitrary length from /dev/tty or stdin. */
-# if @REPLACE_GETPASS@
+# if (@GNULIB_GETPASS@ && @REPLACE_GETPASS@) \
+ || (@GNULIB_GETPASS_GNU@ && @REPLACE_GETPASS_FOR_GETPASS_GNU@)
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
# undef getpass
# define getpass rpl_getpass