Changeset View
Changeset View
Standalone View
Standalone View
contrib/zstd/lib/compress/zstdmt_compress.c
Show All 14 Lines | |||||
/* ====== Compiler specifics ====== */ | /* ====== Compiler specifics ====== */ | ||||
#if defined(_MSC_VER) | #if defined(_MSC_VER) | ||||
# pragma warning(disable : 4204) /* disable: C4204: non-constant aggregate initializer */ | # pragma warning(disable : 4204) /* disable: C4204: non-constant aggregate initializer */ | ||||
#endif | #endif | ||||
/* ====== Dependencies ====== */ | /* ====== Dependencies ====== */ | ||||
#ifdef _KERNEL | |||||
#include <sys/systm.h> /* memcpy, memset */ | |||||
#else | |||||
#include <string.h> /* memcpy, memset */ | #include <string.h> /* memcpy, memset */ | ||||
#endif | |||||
#include "pool.h" /* threadpool */ | #include "pool.h" /* threadpool */ | ||||
#include "threading.h" /* mutex */ | #include "threading.h" /* mutex */ | ||||
#include "zstd_internal.h" /* MIN, ERROR, ZSTD_*, ZSTD_highbit32 */ | #include "zstd_internal.h" /* MIN, ERROR, ZSTD_*, ZSTD_highbit32 */ | ||||
#include "zstdmt_compress.h" | #include "zstdmt_compress.h" | ||||
/* ====== Debug ====== */ | /* ====== Debug ====== */ | ||||
#if defined(ZSTD_DEBUG) && (ZSTD_DEBUG>=2) | #if defined(ZSTD_DEBUG) && (ZSTD_DEBUG>=2) | ||||
▲ Show 20 Lines • Show All 991 Lines • Show Last 20 Lines |