tests: avoid MSVC preaching about unsafe functions

This commit is contained in:
Anonymous Maarten authored and Anonymous Maarten committed 2022-10-08 23:41:07 +02:00
1 parent ebae142aa4
commit b771d9beec
3 files changed
+11 -2

No files matched your search

+3 -1
View File
@@ -4,7 +4,9 @@
*/
/* quiet windows compiler warnings */
#define _CRT_SECURE_NO_WARNINGS
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS)
# define _CRT_SECURE_NO_WARNINGS
#endif
#include <stdio.h>
#include <string.h>
+3 -1
View File
@@ -10,7 +10,9 @@
*/
/* quiet windows compiler warnings */
#define _CRT_SECURE_NO_WARNINGS
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS)
# define _CRT_SECURE_NO_WARNINGS
#endif
#include <stdio.h>
+5
View File
@@ -10,6 +10,11 @@
freely.
*/
/* quiet windows compiler warnings */
#if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS)
# define _CRT_SECURE_NO_WARNINGS
#endif
#include <stdio.h>
#include "SDL.h"