1. gyulalaszlo
  2. foundation


gyulalaszlo  committed 32feb4a Draft

Fix compiler warning about the MSVC vsnprintf macro in string_stream.cpp

  • Participants
  • Parent commits eeae85c
  • Branches gyulalaszlo/msvc_2010_support

Comments (0)

Files changed (1)

File platform.msvc.h

View file
  • Ignore whitespace
 /// Snprintf is not part of C89.
 /// It's standard only in C99. Microsoft has no plan supporting C99.
 #define snprintf c99_snprintf
+#define vsnprintf c99_vsnprintf
 inline int c99_vsnprintf( char* str, size_t size, const char* format, va_list ap )