From a4d77bec6b2efc773bfbcee2f6b12acc5af6afb4 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Thu, 22 Mar 2018 14:41:55 +0100 Subject: [PATCH] Disable Visual Studio warnings --- lv_conf_templ.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lv_conf_templ.h b/lv_conf_templ.h index fd4618211..f69d16de7 100644 --- a/lv_conf_templ.h +++ b/lv_conf_templ.h @@ -243,6 +243,13 @@ /*Switch (dependencies: lv_slider)*/ #define USE_LV_SW 1 +/************************* + * Non-user section + *************************/ +#ifdef _MSC_VER /* Disable warnings for Visual Studio*/ +# define _CRT_SECURE_NO_WARNINGS +#endif + #endif /*LV_CONF_H*/