Commit 8101d251 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

include: Windows SDK C headers have snprintf.

And it is a function prototype, so we can't use #ifndef. Signed-off-by: 's avatarStefan Dösinger <stefan@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent af7ace79
......@@ -69,7 +69,13 @@
#endif
#define popen _popen
#define pclose _pclose
#define snprintf _snprintf
/* The UCRT headers in the Windows SDK #error out if we #define snprintf.
* The C headers that came with previous Visual Studio versions do not have
* snprintf. Check for VS 2015, which appears to be the first version to
* use the UCRT headers by default. */
#if _MSC_VER < 1900
# define snprintf _snprintf
#endif
#define strtoll _strtoi64
#define strtoull _strtoui64
#define strncasecmp _strnicmp
......
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