Skip to content

Commit

Permalink
No define snprintf for VS2015 and above (#717)
Browse files Browse the repository at this point in the history
  • Loading branch information
myd7349 authored and mloskot committed Mar 11, 2019
1 parent 9a320a3 commit f8d036e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/soci/soci-platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@
#endif

// Define if you have the snprintf variants.
#define snprintf _snprintf
#if _MSC_VER < 1900
# define snprintf _snprintf
#endif

// Define if you have the strtoll and strtoull variants.
#if _MSC_VER < 1300
Expand Down

0 comments on commit f8d036e

Please sign in to comment.