Skip to content

Commit

Permalink
Merge pull request #2044 from Mystfit/msvc_snprintf
Browse files Browse the repository at this point in the history
Made snprintf available on MSVC versions over 1500
  • Loading branch information
bluca authored Jan 30, 2020
2 parents d526e7e + c51590f commit 39b2a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/czmq_prelude.h
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ typedef struct {
# endif
# define srandom srand
# define TIMEZONE _timezone
# if (!defined (__MINGW32__))
# if (!defined (__MINGW32__)) && (defined(_MSC_VER) && _MSC_VER < 1500)
# define snprintf _snprintf
# define vsnprintf _vsnprintf
# endif
Expand Down

0 comments on commit 39b2a79

Please sign in to comment.