Suppress redef warning of _CRT_SECURE_NO_WARNINGS

Suppress redef warning of _CRT_SECURE_NO_WARNINGS if any.
This commit is contained in:
denchat 2021-04-08 13:04:26 +07:00 committed by GitHub
parent 5a8bf1f6a3
commit cf8895cd14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,9 @@
// For the license information refer to format.h. // For the license information refer to format.h.
#ifdef WIN32 #ifdef WIN32
# define _CRT_SECURE_NO_WARNINGS # ifndef _CRT_SECURE_NO_WARNINGS
# define _CRT_SECURE_NO_WARNINGS
# endif
#endif #endif
#include "fmt/chrono.h" #include "fmt/chrono.h"