2 * Workaround for lack of snprintf(3) in Visual Studio. See
3 * http://stackoverflow.com/questions/2915672/snprintf-and-visual-studio-2010/8712996#8712996
4 * It's a trivial wrapper around the builtin _vsnprintf_s and
5 * _vscprintf functions.
13 int _TIFF_vsnprintf_f(char* str, size_t size, const char* format, va_list ap)
18 count = _vsnprintf_s(str, size, _TRUNCATE, format, ap);
20 count = _vscprintf(format, ap);
25 int _TIFF_snprintf_f(char* str, size_t size, const char* format, ...)
31 count = vsnprintf(str, size, format, ap);