Fossil SCM

Revert some changes made by ./configure on Linux which prevented zlib from building on Windows.

danield 2026-11-13 10:08 UTC trunk
Commit 219539c4707f84b93762829c171543f5fbe11289159241c5bf060e6ac360e1c4
1 file changed +2 -2
--- compat/zlib/zconf.h
+++ compat/zlib/zconf.h
@@ -441,15 +441,15 @@
441441
typedef Z_U4 z_crc_t;
442442
#else
443443
typedef unsigned long z_crc_t;
444444
#endif
445445
446
-#if 1 /* was set to #if 1 by ./configure */
446
+#if HAVE_UNISTD_H-0 /* may be set to #if 1 by ./configure */
447447
# define Z_HAVE_UNISTD_H
448448
#endif
449449
450
-#if 1 /* was set to #if 1 by ./configure */
450
+#if HAVE_STDARG_H-0 /* may be set to #if 1 by ./configure */
451451
# define Z_HAVE_STDARG_H
452452
#endif
453453
454454
#ifdef STDC
455455
# ifndef Z_SOLO
456456
--- compat/zlib/zconf.h
+++ compat/zlib/zconf.h
@@ -441,15 +441,15 @@
441 typedef Z_U4 z_crc_t;
442 #else
443 typedef unsigned long z_crc_t;
444 #endif
445
446 #if 1 /* was set to #if 1 by ./configure */
447 # define Z_HAVE_UNISTD_H
448 #endif
449
450 #if 1 /* was set to #if 1 by ./configure */
451 # define Z_HAVE_STDARG_H
452 #endif
453
454 #ifdef STDC
455 # ifndef Z_SOLO
456
--- compat/zlib/zconf.h
+++ compat/zlib/zconf.h
@@ -441,15 +441,15 @@
441 typedef Z_U4 z_crc_t;
442 #else
443 typedef unsigned long z_crc_t;
444 #endif
445
446 #if HAVE_UNISTD_H-0 /* may be set to #if 1 by ./configure */
447 # define Z_HAVE_UNISTD_H
448 #endif
449
450 #if HAVE_STDARG_H-0 /* may be set to #if 1 by ./configure */
451 # define Z_HAVE_STDARG_H
452 #endif
453
454 #ifdef STDC
455 # ifndef Z_SOLO
456

Keyboard Shortcuts

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