Fossil SCM

Remove miniz include

danield 2021-12-26 18:45 ssl-server
Commit 4ab8669b7a3cc4b84d4169e7625122f84ac5f69a6fdc3baee00daa44329b1d44
1 file changed +1 -6
+1 -6
--- src/blob.c
+++ src/blob.c
@@ -17,16 +17,11 @@
1717
**
1818
** A Blob is a variable-length containers for arbitrary string
1919
** or binary data.
2020
*/
2121
#include "config.h"
22
-#if defined(FOSSIL_ENABLE_MINIZ)
23
-# define MINIZ_HEADER_FILE_ONLY
24
-# include "miniz.c"
25
-#else
26
-# include <zlib.h>
27
-#endif
22
+#include <zlib.h>
2823
#include "blob.h"
2924
#if defined(_WIN32)
3025
#include <fcntl.h>
3126
#include <io.h>
3227
#endif
3328
--- src/blob.c
+++ src/blob.c
@@ -17,16 +17,11 @@
17 **
18 ** A Blob is a variable-length containers for arbitrary string
19 ** or binary data.
20 */
21 #include "config.h"
22 #if defined(FOSSIL_ENABLE_MINIZ)
23 # define MINIZ_HEADER_FILE_ONLY
24 # include "miniz.c"
25 #else
26 # include <zlib.h>
27 #endif
28 #include "blob.h"
29 #if defined(_WIN32)
30 #include <fcntl.h>
31 #include <io.h>
32 #endif
33
--- src/blob.c
+++ src/blob.c
@@ -17,16 +17,11 @@
17 **
18 ** A Blob is a variable-length containers for arbitrary string
19 ** or binary data.
20 */
21 #include "config.h"
22 #include <zlib.h>
 
 
 
 
 
23 #include "blob.h"
24 #if defined(_WIN32)
25 #include <fcntl.h>
26 #include <io.h>
27 #endif
28

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button