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:
parent
6718decbb7
commit
4a39e2b731
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user