Merged fse_static into fse.h . Now requires FSE_STATIC_LINKING_ONLY macro.

This commit is contained in:
Yann Collet
2016-06-05 00:58:01 +02:00
parent 130fe11394
commit d0e2cd15cb
9 changed files with 364 additions and 402 deletions
+2 -1
View File
@@ -57,7 +57,8 @@
#include <string.h> /* memcpy, memset */
#include <stdio.h> /* printf (debug) */
#include "bitstream.h"
#include "fse_static.h"
#define FSE_STATIC_LINKING_ONLY
#include "fse.h"
/* **************************************************************
+2 -1
View File
@@ -62,7 +62,8 @@
#include <string.h> /* memcpy, memset */
#include <stdio.h> /* printf (debug) */
#include "bitstream.h"
#include "fse_static.h" /* header compression */
#define FSE_STATIC_LINKING_ONLY /* FSE_optimalTableLog_internal */
#include "fse.h" /* header compression */
#define HUF_STATIC_LINKING_ONLY
#include "huf.h"
+2 -1
View File
@@ -55,7 +55,8 @@
#include "mem.h"
#define XXH_STATIC_LINKING_ONLY /* XXH64_state_t */
#include "xxhash.h" /* XXH_reset, update, digest */
#include "fse_static.h"
#define FSE_STATIC_LINKING_ONLY
#include "fse.h"
#define HUF_STATIC_LINKING_ONLY
#include "huf.h"
#include "zstd_internal.h" /* includes zstd.h */