mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 14:18:37 +00:00
vsscanf isn't part of the the standard, and hence not in the std:: namespace (at least over here). If this causes problems for somebody, please flag me and we can work out a solution
This commit is contained in:
parent
603444a9ba
commit
27e36362f3
@ -77,7 +77,7 @@ void TextSplitter::scanString(const char *fmt, int field_count, ...) {
|
||||
#ifdef WIN32
|
||||
if (residual_vsscanf(currentLine(), field_count, fmt, va) < field_count)
|
||||
#else
|
||||
if (std::vsscanf(currentLine(), fmt, va) < field_count)
|
||||
if (vsscanf(currentLine(), fmt, va) < field_count)
|
||||
#endif
|
||||
error("Expected line of format `%s', got `%s'\n", fmt, currentLine());
|
||||
va_end(va);
|
||||
|
Loading…
Reference in New Issue
Block a user