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:
Max Horn 2003-08-25 19:21:00 +00:00
parent 603444a9ba
commit 27e36362f3

View File

@ -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);