Skip to content

Commit ebc6485

Browse files
committed
attempt to silence Visual Studio warning about fopen()
1 parent 3436410 commit ebc6485

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/fullbench.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#define ZSTD_DISABLE_DEPRECATE_WARNINGS /* No deprecation warnings, we still bench some deprecated functions */
1717
#include "util.h" /* Compiler options, UTIL_GetFileSize */
1818
#include <stdlib.h> /* malloc */
19+
#define _CRT_SECURE_NO_WARNINGS /* disable Visual warning that it doesn't like fopen() */
1920
#include <stdio.h> /* fprintf, fopen, ftello64 */
2021
#include <assert.h>
2122

0 commit comments

Comments
 (0)