Remove macro definitions of snprintf and vsnprintf (#7536)
This commit is contained in:
parent
29bfa94bb6
commit
3886c3dd8f
@ -22,13 +22,7 @@
|
||||
#define fopen64 std::fopen
|
||||
#endif // !defined(__GNUC__) || defined(__FreeBSD__)
|
||||
|
||||
#ifdef _MSC_VER
|
||||
// NOTE: sprintf_s is not equivalent to snprintf,
|
||||
// they are equivalent when success, which is sufficient for our case
|
||||
#define snprintf sprintf_s
|
||||
#define vsnprintf vsprintf_s
|
||||
|
||||
#else
|
||||
#ifndef _MSC_VER
|
||||
|
||||
#ifdef _FILE_OFFSET_BITS
|
||||
#if _FILE_OFFSET_BITS == 32
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user