Browse Source

Fix MSVC11 compile error in AssxmlExporter.cpp -- vsnprintf is not in std.

Alexander Gessler 9 years ago
parent
commit
167bc579c5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      code/AssxmlExporter.cpp

+ 1 - 1
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 );