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