Skip to content

Commit

Permalink
attempt to silence Visual Studio warning about fopen()
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyan4973 committed Dec 17, 2024
1 parent 3436410 commit 5895903
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/fullbench.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
/*_************************************
* Includes
**************************************/
#include <limits.h>
#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 <limits.h>
#include "util.h" /* Compiler options, UTIL_GetFileSize */
#include <stdlib.h> /* malloc */
#include <stdio.h> /* fprintf, fopen, ftello64 */
Expand Down

0 comments on commit 5895903

Please sign in to comment.