From 65ecffba01c1b47ba13c715301d19b6ce80c98e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20Kl=C3=B6ckner?= Date: Sat, 30 Mar 2019 11:14:39 +0100 Subject: [PATCH] Fix problem with MSVC 19 "error C2039: '_snprintf': is not a member of 'std'" --- include/SQLiteCpp/Utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SQLiteCpp/Utils.h b/include/SQLiteCpp/Utils.h index 7fc97af..7593d72 100644 --- a/include/SQLiteCpp/Utils.h +++ b/include/SQLiteCpp/Utils.h @@ -64,6 +64,6 @@ const nullptr_t nullptr = {}; #endif // _MSC_VER // A macro for snprintf support in Visual Studio -#if _MSC_VER +#if defined(_MSC_VER) && _MSC_VER < 1500 #define snprintf _snprintf #endif