project64/Source/Common/Platform.cpp

13 lines
261 B
C++

#include "stdafx.h"
#ifndef _WIN32
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;
}
#endif