equal
deleted
inserted
replaced
574 // if the buffer overflows instead of the length the string would have |
574 // if the buffer overflows instead of the length the string would have |
575 // been as expected. |
575 // been as expected. |
576 // In this case we make another copy of va and fetch the length only |
576 // In this case we make another copy of va and fetch the length only |
577 // with another call to _vscprintf |
577 // with another call to _vscprintf |
578 |
578 |
579 #ifdef _MSC_VER |
579 #ifdef _WIN32 |
580 if (len == -1) |
580 if (len == -1) |
581 { |
581 { |
582 va_copy(ap, va); |
582 va_copy(ap, va); |
583 len = _vscprintf(fmt, ap); |
583 len = _vscprintf(fmt, ap); |
584 va_end(ap); |
584 va_end(ap); |