]> git.ipfire.org Git - thirdparty/gnulib.git/commit
stdio: Support several gnulib-tool invocations better.
authorBruno Haible <bruno@clisp.org>
Tue, 24 Dec 2024 10:19:49 +0000 (11:19 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 24 Dec 2024 13:16:09 +0000 (14:16 +0100)
commitff96fd7cf0afff896a5a123286df8bf4340b3fd3
tree4b97f461af06336de5bd3ecadbb4010ce4dbda73
parent143d6b17fa01eba73bb253b839b38dd5e6a50606
stdio: Support several gnulib-tool invocations better.

* lib/stdio.in.h: Test _GL_SKIP_GNULIB_STDIO_H.
(_GL_ALREADY_INCLUDING_STDIO_H): Rename to a macro that depends on
GUARD_PREFIX.
* lib/fopen.c: Set _GL_SKIP_GNULIB_STDIO_H instead of
_GL_ALREADY_INCLUDING_STDIO_H.
* lib/freopen.c: Likewise.
ChangeLog
lib/fopen.c
lib/freopen.c
lib/stdio.in.h