diff --git a/tests/test_misc.cpp b/tests/test_misc.cpp index cf8e3615..0c32e385 100644 --- a/tests/test_misc.cpp +++ b/tests/test_misc.cpp @@ -1,3 +1,7 @@ +#ifdef _WIN32 // to prevent fopen warning on windows +#define _CRT_SECURE_NO_WARNINGS +#endif + #include "includes.h" #include "test_sink.h"