Commit 8d52e7ba authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: use _snwprintf instead of swprintf

swprintf is not the standard function you are looking for
parent 2fa9a4ae
...@@ -77,6 +77,7 @@ ...@@ -77,6 +77,7 @@
#define PRIx64 "llx" #define PRIx64 "llx"
#define snprintf __mingw_snprintf #define snprintf __mingw_snprintf
#define vsnprintf __mingw_vsnprintf #define vsnprintf __mingw_vsnprintf
#define swprintf _snwprintf
#endif #endif
/* Function attributes for compiler warnings */ /* Function attributes for compiler warnings */
......
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