mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-12-22 11:55:30 +00:00
Fixed snprintf compile error with VS2015.
This commit is contained in:
parent
5022bef3d7
commit
de1f7ebad6
@ -18,7 +18,7 @@
|
||||
#ifndef SO_OPENTYPE
|
||||
#define SO_OPENTYPE 0x7008
|
||||
#endif
|
||||
#ifndef snprintf
|
||||
#if (_MSC_VER < 1900)
|
||||
#define snprintf _snprintf_s
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user