Windows CE does not have vsnprintf, so
use qvsnprintf instead.
Change-Id: I30ddbf2469424ec174903f0cce2b482c652b5d22
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
void vprintf(const char* format, va_list argList) WTF_ATTRIBUTE_PRINTF(2, 0)
{
- const int written = vsnprintf(buf.data(), buf.size(), format, argList);
+ const int written = qvsnprintf(buf.data(), buf.size(), format, argList);
if (written > 0)
dest->write(buf.constData(), written);
memset(buf.data(), 0, qMin(written, buf.size()));