diff options
author | W. Felix Handte <w@felixhandte.com> | 2018-04-21 00:55:38 (GMT) |
---|---|---|
committer | W. Felix Handte <w@felixhandte.com> | 2018-04-24 20:22:28 (GMT) |
commit | 2dfc7cbe826342905faa479175f6f050e8445aff (patch) | |
tree | d72bcb1a8ed2b4f2652d975e5ec17946f6ba5ddc | |
parent | 2be3905fa4974fd20fea4d9eda5a0030c9d19e93 (diff) | |
download | lz4-2dfc7cbe826342905faa479175f6f050e8445aff.zip lz4-2dfc7cbe826342905faa479175f6f050e8445aff.tar.gz lz4-2dfc7cbe826342905faa479175f6f050e8445aff.tar.bz2 |
Change Over Includes in the Project
-rw-r--r-- | lib/lz4frame.c | 3 | ||||
-rw-r--r-- | programs/lz4io.c | 2 | ||||
-rw-r--r-- | tests/frametest.c | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/lib/lz4frame.c b/lib/lz4frame.c index 844c8d1..b616463 100644 --- a/lib/lz4frame.c +++ b/lib/lz4frame.c @@ -73,7 +73,8 @@ You can contact the author at : /*-************************************ * Includes **************************************/ -#include "lz4frame_static.h" +#define LZ4F_STATIC_LINKING_ONLY +#include "lz4frame.h" #define LZ4_STATIC_LINKING_ONLY #include "lz4.h" #define LZ4_HC_STATIC_LINKING_ONLY diff --git a/programs/lz4io.c b/programs/lz4io.c index 6d0d0d0..ccf4fa1 100644 --- a/programs/lz4io.c +++ b/programs/lz4io.c @@ -56,8 +56,8 @@ #include "lz4io.h" #include "lz4.h" /* still required for legacy format */ #include "lz4hc.h" /* still required for legacy format */ +#define LZ4F_STATIC_LINKING_ONLY #include "lz4frame.h" -#include "lz4frame_static.h" /***************************** diff --git a/tests/frametest.c b/tests/frametest.c index 74d9c88..01f1300 100644 --- a/tests/frametest.c +++ b/tests/frametest.c @@ -41,7 +41,8 @@ #include <string.h> /* strcmp */ #include <time.h> /* clock_t, clock(), CLOCKS_PER_SEC */ #include <assert.h> -#include "lz4frame_static.h" +#define LZ4F_STATIC_LINKING_ONLY +#include "lz4frame.h" #include "lz4.h" /* LZ4_VERSION_STRING */ #define XXH_STATIC_LINKING_ONLY #include "xxhash.h" /* XXH64 */ |