[Common] Clean up Platform.cpp

This commit is contained in:
zilmar 2016-01-17 16:57:08 +11:00
parent cbd1f6760f
commit 554333711f
1 changed files with 7 additions and 7 deletions

View File

@ -1,13 +1,13 @@
#include "stdafx.h"
#ifndef _WIN32
int _vscprintf (const char * format, va_list pargs)
int _vscprintf (const char * format, va_list pargs)
{
int retval;
va_list argcopy;
va_copy(argcopy, pargs);
retval = vsnprintf(NULL, 0, format, argcopy);
va_end(argcopy);
return retval;
int retval;
va_list argcopy;
va_copy(argcopy, pargs);
retval = vsnprintf(NULL, 0, format, argcopy);
va_end(argcopy);
return retval;
}
#endif