Skip to content

Commit 7db3077

Browse files
authored
Merge pull request SRombauts#194 from Linux13524/fix/msvc19
Fix problem with snprintf macro in MSVC 2019
2 parents 5042514 + 65ecffb commit 7db3077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/SQLiteCpp/Utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@ const nullptr_t nullptr = {};
6464
#endif // _MSC_VER
6565

6666
// A macro for snprintf support in Visual Studio
67-
#if _MSC_VER
67+
#if defined(_MSC_VER) && _MSC_VER < 1500
6868
#define snprintf _snprintf
6969
#endif

0 commit comments

Comments
 (0)