mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 01:29:42 -06:00
Update wx to r75363 to address a wx bug that was breaking netplay on OS X.
This commit is contained in:
12
Externals/wxWidgets3/include/wx/wxcrtvararg.h
vendored
12
Externals/wxWidgets3/include/wx/wxcrtvararg.h
vendored
@ -238,7 +238,17 @@
|
||||
#define wxCRT_ScanfA scanf
|
||||
#define wxCRT_SscanfA sscanf
|
||||
#define wxCRT_FscanfA fscanf
|
||||
#define wxCRT_VsscanfA vsscanf
|
||||
|
||||
/* vsscanf() may have a wrong declaration with non-const first parameter, fix
|
||||
* this by wrapping it if necessary. */
|
||||
#if defined __cplusplus && defined HAVE_BROKEN_VSSCANF_DECL
|
||||
inline int wxCRT_VsscanfA(const char *str, const char *format, va_list ap)
|
||||
{
|
||||
return vsscanf(const_cast<char *>(str), format, ap);
|
||||
}
|
||||
#else
|
||||
#define wxCRT_VsscanfA vsscanf
|
||||
#endif
|
||||
|
||||
#if defined(wxNEED_WPRINTF)
|
||||
int wxCRT_ScanfW(const wchar_t *format, ...);
|
||||
|
Reference in New Issue
Block a user