Add source level deprecation warning disabling to certain tests/utils (#2645)

This commit is contained in:
sen
2021-05-13 14:41:21 -04:00
committed by GitHub
parent b57022eede
commit 40def70387
7 changed files with 11 additions and 2 deletions
+1
View File
@@ -28,6 +28,7 @@
#include <assert.h> /* assert */
#include "timefn.h" /* UTIL_time_t, UTIL_getTime */
#include "mem.h"
#define ZSTD_DISABLE_DEPRECATE_WARNINGS /* No deprecation warnings, we still test some deprecated functions */
#define ZSTD_STATIC_LINKING_ONLY /* ZSTD_maxCLevel, ZSTD_customMem, ZSTD_getDictID_fromFrame */
#include "zstd.h" /* ZSTD_compressBound */
#include "zstd_errors.h" /* ZSTD_error_srcSize_wrong */