Change Over Includes in the Project
authorW. Felix Handte <w@felixhandte.com>
Sat, 21 Apr 2018 00:55:38 +0000 (20:55 -0400)
committerW. Felix Handte <w@felixhandte.com>
Tue, 24 Apr 2018 20:22:28 +0000 (16:22 -0400)
lib/lz4frame.c
programs/lz4io.c
tests/frametest.c

index 844c8d1..b616463 100644 (file)
@@ -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
index 6d0d0d0..ccf4fa1 100644 (file)
@@ -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"
 
 
 /*****************************
index 74d9c88..01f1300 100644 (file)
@@ -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 */