fixed MEM_STATIC already defined in Linux Kernel mode

This commit is contained in:
Yann Collet
2023-06-14 20:07:18 -07:00
parent 74c901bbed
commit d9645327b3
3 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
#define ZSTD_DEPS_NEED_MALLOC
#include "zstd_deps.h" /* ZSTD_malloc, ZSTD_calloc, ZSTD_free, ZSTD_memset */
#include "mem.h" /* MEM_STATIC */
#include "compiler.h" /* MEM_STATIC */
#define ZSTD_STATIC_LINKING_ONLY
#include "../zstd.h" /* ZSTD_customMem */