From: Yann Collet Date: Tue, 17 Dec 2024 05:48:10 +0000 (-0800) Subject: attempt to silence Visual Studio warning about fopen() X-Git-Tag: v1.5.7^2~48^2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61ac8311e0983d21b95d5ef8ac98477b348a806e;p=thirdparty%2Fzstd.git attempt to silence Visual Studio warning about fopen() --- diff --git a/tests/fullbench.c b/tests/fullbench.c index 0776d4221..e89a2b326 100644 --- a/tests/fullbench.c +++ b/tests/fullbench.c @@ -12,8 +12,9 @@ /*_************************************ * Includes **************************************/ -#include +#define _CRT_SECURE_NO_WARNINGS /* disable Visual warning that it doesn't like fopen() */ #define ZSTD_DISABLE_DEPRECATE_WARNINGS /* No deprecation warnings, we still bench some deprecated functions */ +#include #include "util.h" /* Compiler options, UTIL_GetFileSize */ #include /* malloc */ #include /* fprintf, fopen, ftello64 */