From 2c3510f0a7a9bab85e35c17be3ba3844d36914a5 Mon Sep 17 00:00:00 2001 From: GoaLitiuM Date: Mon, 4 May 2015 19:27:42 +0300 Subject: [PATCH] UI: Define snprintf only for Visual Studios prior VS2015 This change is purely cosmetic one. _snprintf is still defined in 2015, but Microsoft may change this in the future. --- obs/obs-app.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/obs/obs-app.cpp b/obs/obs-app.cpp index 3378a3498..6e2fd9561 100644 --- a/obs/obs-app.cpp +++ b/obs/obs-app.cpp @@ -38,7 +38,9 @@ #ifdef _WIN32 #include +#if _MSC_VER < 1900 #define snprintf _snprintf +#endif #else #include #endif