]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
intl: Add comment regarding debugging printf.
authorBruno Haible <bruno@clisp.org>
Sun, 19 Apr 2020 15:30:57 +0000 (17:30 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 19 Apr 2020 15:30:57 +0000 (17:30 +0200)
* gettext-runtime/intl/printf.c (ENABLE_WCHAR_FALLBACK): New commented
definition.

gettext-runtime/intl/printf.c

index 93ffe87e164b88d006844af0b89ae2cca8472c4e..7c07ed759e4ca24ca8ea4eeea9c750157484c284 100644 (file)
@@ -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 <bruno@clisp.org>, 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))).