]> git.ipfire.org Git - thirdparty/gettext.git/commit
intl: Avoid conflict between libintl.h and some C++ header files.
authorBruno Haible <bruno@clisp.org>
Thu, 28 Nov 2024 19:22:47 +0000 (20:22 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 28 Nov 2024 19:22:47 +0000 (20:22 +0100)
commite4a1c66c1ddb05fa67f00678bda9ec24af5e4de6
tree3746c2da2c9795b3c1d126429d8e56f9e87a69db
parente822f894b4f8979305b34b3a21ee55bfa0cb66c9
intl: Avoid conflict between libintl.h and some C++ header files.

Reported Pierre Ossman <ossman@cendio.se>
at <https://savannah.gnu.org/bugs/?64006>.

* gettext-runtime/intl/libgnuintl.in.h (*printf, newlocale, duplocale,
freelocale, setlocale): Use _INTL_REDIRECT_INLINE or _INTL_ASM as alternatives
to _INTL_REDIRECT_MACROS, avoiding conflicts with inline functions in mingw
and MSVC <stdio.h>.
gettext-runtime/intl/libgnuintl.in.h