From 167bc579c54aa6e6360efe928bff1fb20db62a85 Mon Sep 17 00:00:00 2001 From: Alexander Gessler Date: Thu, 5 May 2016 15:41:12 +0200 Subject: [PATCH] Fix MSVC11 compile error in AssxmlExporter.cpp -- vsnprintf is not in std. --- code/AssxmlExporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/AssxmlExporter.cpp b/code/AssxmlExporter.cpp index 9e8037649..765a8f88b 100644 --- a/code/AssxmlExporter.cpp +++ b/code/AssxmlExporter.cpp @@ -77,7 +77,7 @@ static int ioprintf( IOStream * io, const char *format, ... ) { ::memset( sz, '\0', Size ); va_list va; va_start( va, format ); - int nSize = std::vsnprintf( sz, Size-1, format, va ); + int nSize = vsnprintf( sz, Size-1, format, va ); ai_assert( nSize < Size ); va_end( va );