MSVC compilation fix for vsnprintf()
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3362 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -142,6 +142,7 @@ typedef unsigned short mode_t;
|
||||
|
||||
// String formatting
|
||||
#ifdef _MSC_VER
|
||||
# include <stdarg.h>
|
||||
// Defined in port.c
|
||||
int snprintf(char *str, size_t size, const char *format, ...);
|
||||
int vsnprintf(char *str, size_t size, const char *format, va_list args);
|
||||
|
||||
Reference in New Issue
Block a user