Supress warning redefine _CRT_SECURE_NO_WARNINGS just in case

This commit is contained in:
denchat 2019-05-07 20:24:59 +07:00 committed by GitHub
parent bcb7257b31
commit 2671011033
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,9 @@
// Disable bogus MSVC warnings.
#ifdef _MSC_VER
# define _CRT_SECURE_NO_WARNINGS
# ifndef _CRT_SECURE_NO_WARNINGS
# define _CRT_SECURE_NO_WARNINGS
# endif
#endif
#include "posix-mock.h"