Unverified Commit 17f9d3da authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Use snprintf() on newer MS compilers

parent 85c9878c
......@@ -63,7 +63,9 @@
#define MAX(a,b) ((a) > (b) ? (a) : (b))
#ifdef _MSC_VER
# define snprintf _snprintf
# if (_MSC_VER < 1900)
# define snprintf _snprintf
# endif
#endif
struct StdioObject {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment