there is no snprintf before Visual C++ 2015
This commit is contained in:
parent
52eaabefa9
commit
ac3f55fd92
@ -430,6 +430,11 @@ static inline ulong64 ROR64(ulong64 word, int i)
|
|||||||
#define byte(x, n) (((x) >> (8 * (n))) & 255)
|
#define byte(x, n) (((x) >> (8 * (n))) & 255)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* there is no snprintf before Visual C++ 2015 */
|
||||||
|
#if defined(_MSC_VER) && _MSC_VER < 1900
|
||||||
|
#define snprintf _snprintf
|
||||||
|
#endif
|
||||||
|
|
||||||
/* $Source$ */
|
/* $Source$ */
|
||||||
/* $Revision$ */
|
/* $Revision$ */
|
||||||
/* $Date$ */
|
/* $Date$ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user