Changeset View
Changeset View
Standalone View
Standalone View
contrib/zstd/lib/compress/huf_compress.c
Show All 37 Lines | |||||
#ifdef _MSC_VER /* Visual Studio */ | #ifdef _MSC_VER /* Visual Studio */ | ||||
# pragma warning(disable : 4127) /* disable: C4127: conditional expression is constant */ | # pragma warning(disable : 4127) /* disable: C4127: conditional expression is constant */ | ||||
#endif | #endif | ||||
/* ************************************************************** | /* ************************************************************** | ||||
* Includes | * Includes | ||||
****************************************************************/ | ****************************************************************/ | ||||
#ifdef _KERNEL | |||||
#include <sys/systm.h> /* memcpy, memset */ | |||||
#else | |||||
#include <string.h> /* memcpy, memset */ | #include <string.h> /* memcpy, memset */ | ||||
#include <stdio.h> /* printf (debug) */ | #include <stdio.h> /* printf (debug) */ | ||||
#endif | |||||
#include "bitstream.h" | #include "bitstream.h" | ||||
#define FSE_STATIC_LINKING_ONLY /* FSE_optimalTableLog_internal */ | #define FSE_STATIC_LINKING_ONLY /* FSE_optimalTableLog_internal */ | ||||
#include "fse.h" /* header compression */ | #include "fse.h" /* header compression */ | ||||
#define HUF_STATIC_LINKING_ONLY | #define HUF_STATIC_LINKING_ONLY | ||||
#include "huf.h" | #include "huf.h" | ||||
#include "error_private.h" | #include "error_private.h" | ||||
▲ Show 20 Lines • Show All 634 Lines • Show Last 20 Lines |