Fossil SCM

Fix a build problem with zlib on Windows.

drh 2022-07-28 17:38 trunk
Commit 8bd19cad6346b570335aacaf1999f7bf243b70e7f29642a4a72e9561c23cb7a3
1 file changed +1 -1
--- compat/zlib/zconf.h
+++ compat/zlib/zconf.h
@@ -429,11 +429,11 @@
429429
typedef Z_U4 z_crc_t;
430430
#else
431431
typedef unsigned long z_crc_t;
432432
#endif
433433
434
-#if 1 /* was set to #if 1 by ./configure */
434
+#ifdef HAVE_UNISTD_H /* was set to #if 1 by ./configure */
435435
# define Z_HAVE_UNISTD_H
436436
#endif
437437
438438
#if 1 /* was set to #if 1 by ./configure */
439439
# define Z_HAVE_STDARG_H
440440
--- compat/zlib/zconf.h
+++ compat/zlib/zconf.h
@@ -429,11 +429,11 @@
429 typedef Z_U4 z_crc_t;
430 #else
431 typedef unsigned long z_crc_t;
432 #endif
433
434 #if 1 /* was set to #if 1 by ./configure */
435 # define Z_HAVE_UNISTD_H
436 #endif
437
438 #if 1 /* was set to #if 1 by ./configure */
439 # define Z_HAVE_STDARG_H
440
--- compat/zlib/zconf.h
+++ compat/zlib/zconf.h
@@ -429,11 +429,11 @@
429 typedef Z_U4 z_crc_t;
430 #else
431 typedef unsigned long z_crc_t;
432 #endif
433
434 #ifdef HAVE_UNISTD_H /* was set to #if 1 by ./configure */
435 # define Z_HAVE_UNISTD_H
436 #endif
437
438 #if 1 /* was set to #if 1 by ./configure */
439 # define Z_HAVE_STDARG_H
440

Keyboard Shortcuts

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