Commit e19eceaf authored by Victor Zverovich's avatar Victor Zverovich

Fix MSVC build

parent 478d004c
...@@ -94,7 +94,7 @@ void Increment(char *s) { ...@@ -94,7 +94,7 @@ void Increment(char *s) {
enum {BUFFER_SIZE = 256}; enum {BUFFER_SIZE = 256};
#ifdef _MSC_VER #ifdef _MSC_VER
# define vsnprintf _vsprintf_s # define vsnprintf vsprintf_s
#endif #endif
void SPrintf(char *buffer, const char *format, ...) { void SPrintf(char *buffer, const char *format, ...) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment