https://bugs.winehq.org/show_bug.cgi?id=45913
Bug ID: 45913 Summary: tchar.h: using the macro _sntprintf leads to an undefined reference to snwprintf; macro should resolve to _snwprintf Product: Wine Version: unspecified Hardware: arm OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winelib Assignee: wine-bugs@winehq.org Reporter: contact@ivanchev.net Distribution: ---
According to MSDN (https://msdn.microsoft.com/en-us/library/2ts7cx93.aspx) the following macro definition in tchar.h:
#define _sntprintf WINE_tchar_routine(snprintf, snprintf, snwprintf)
is missing an underscore at the beginning snwprintf
#define _sntprintf WINE_tchar_routine(snprintf, snprintf, _snwprintf).