1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

don't redefine _CRT_SECURE_NO_WARNINGS symbol if already defined

This commit is contained in:
manison 2019-01-22 10:31:36 +01:00
parent 6718decbb7
commit 4a39e2b731

View File

@ -313,7 +313,7 @@
/*************************
* Non-user section
*************************/
#ifdef _MSC_VER /* Disable warnings for Visual Studio*/
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS) /* Disable warnings for Visual Studio*/
#define _CRT_SECURE_NO_WARNINGS
#endif