* lib/vasnprintf.c (MAX_ROOM_NEEDED): Adjust #if condition.
+2023-03-22 Bruno Haible <bruno@clisp.org>
+
+ vasnwprintf: Fix a "warning: unused function 'wmax_room_needed'".
+ * lib/vasnprintf.c (MAX_ROOM_NEEDED): Adjust #if condition.
+
2023-03-22 Bruno Haible <bruno@clisp.org>
vasnwprintf: Simplify last change.
#endif
-#if !USE_SNPRINTF || WIDE_CHAR_VERSION || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF
+#if !USE_SNPRINTF || (WIDE_CHAR_VERSION && DCHAR_IS_TCHAR) || !HAVE_SNPRINTF_RETVAL_C99 || USE_MSVC__SNPRINTF
/* Use a different function name, to make it possible that the 'wchar_t'
parametrization and the 'char' parametrization get compiled in the same