Unverified Commit 5f66aa26 by Edward Thomson Committed by GitHub

Merge pull request #6212 from apnadkarni/patch-1

Fix crashes in example programs on Windows (sprintf_s not compatible with snprintf)
parents 4c88b9d3 77ef1a6e
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
#endif #endif
#ifdef _MSC_VER #ifdef _MSC_VER
#define snprintf sprintf_s #define snprintf _snprintf
#define strcasecmp strcmpi #define strcasecmp strcmpi
#endif #endif
......
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