merged huf_static.h into huf.h . Requires HUF_STATIC_LINKING_ONLY macro.

This commit is contained in:
Yann Collet
2016-06-05 00:42:28 +02:00
parent dc048d18d3
commit 130fe11394
7 changed files with 199 additions and 238 deletions
+2 -1
View File
@@ -61,9 +61,10 @@
****************************************************************/
#include <string.h> /* memcpy, memset */
#include <stdio.h> /* printf (debug) */
#include "huf_static.h"
#include "bitstream.h"
#include "fse.h" /* header compression */
#define HUF_STATIC_LINKING_ONLY
#include "huf.h"
+3 -2
View File
@@ -58,9 +58,10 @@
#include "mem.h" /* low level memory routines */
#define XXH_STATIC_LINKING_ONLY /* XXH64_state_t */
#include "xxhash.h" /* XXH64_* */
#include "zstd_internal.h"
#include "fse_static.h"
#include "huf_static.h"
#define HUF_STATIC_LINKING_ONLY
#include "huf.h"
#include "zstd_internal.h"
#if defined(ZSTD_LEGACY_SUPPORT) && (ZSTD_LEGACY_SUPPORT==1)
# include "zstd_legacy.h"