mirror of
https://github.com/taglib/taglib.git
synced 2026-02-05 15:00:14 -05:00
CMake check for vsprintf_s/vsnprintf rather than sprintf_s/snprintf.
This commit is contained in:
@ -177,11 +177,11 @@ namespace TagLib
|
||||
char buf[BufferSize];
|
||||
int length;
|
||||
|
||||
#if defined(HAVE_SNPRINTF)
|
||||
#if defined(HAVE_VSNPRINTF)
|
||||
|
||||
length = vsnprintf(buf, BufferSize, format, args);
|
||||
|
||||
#elif defined(HAVE_SPRINTF_S)
|
||||
#elif defined(HAVE_VSPRINTF_S)
|
||||
|
||||
length = vsprintf_s(buf, format, args);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user