From: Bruno Haible Date: Sun, 19 Apr 2020 15:30:57 +0000 (+0200) Subject: intl: Add comment regarding debugging printf. X-Git-Tag: v0.21~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f280136d1ab87f9a54aa9997bada66d5210bf30;p=thirdparty%2Fgettext.git intl: Add comment regarding debugging printf. * gettext-runtime/intl/printf.c (ENABLE_WCHAR_FALLBACK): New commented definition. --- diff --git a/gettext-runtime/intl/printf.c b/gettext-runtime/intl/printf.c index 93ffe87e1..7c07ed759 100644 --- a/gettext-runtime/intl/printf.c +++ b/gettext-runtime/intl/printf.c @@ -1,5 +1,5 @@ /* Formatted output to strings, using POSIX/XSI format strings with positions. - Copyright (C) 2003, 2006-2007, 2009-2011, 2018 Free Software Foundation, Inc. + Copyright (C) 2003, 2006-2007, 2009-2011, 2018, 2020 Free Software Foundation, Inc. Written by Bruno Haible , 2003. This program is free software: you can redistribute it and/or modify @@ -68,6 +68,11 @@ char *alloca (); #define STATIC static +/* You can enable this for debugging on Windows. But not in a release! */ +#if 0 +# define ENABLE_WCHAR_FALLBACK 1 +#endif + /* This needs to be consistent with libgnuintl.in.h. */ #if defined __NetBSD__ || defined __BEOS__ || defined __CYGWIN__ || defined __MINGW32__ /* Don't break __attribute__((format(printf,M,N))).