summaryrefslogtreecommitdiff
path: root/lib/stdio.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/stdio.in.h
parenta0263cfee3cf64f4a77f90591af7ef7d8d78d8db (diff)
Update from gnulib
Diffstat (limited to 'lib/stdio.in.h')
-rw-r--r--lib/stdio.in.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stdio.in.h b/lib/stdio.in.h
index 8fcec011d43..7b36dac2f52 100644
--- a/lib/stdio.in.h
+++ b/lib/stdio.in.h
@@ -399,7 +399,8 @@ _GL_CXXALIASWARN (fileno);
#endif
#if @GNULIB_FOPEN@
-# if @REPLACE_FOPEN@
+# if (@GNULIB_FOPEN@ && @REPLACE_FOPEN@) \
+ || (@GNULIB_FOPEN_GNU@ && @REPLACE_FOPEN_FOR_FOPEN_GNU@)
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
# undef fopen
# define fopen rpl_fopen