Fossil SCM
Fix a build problem with zlib on Windows.
Commit
8bd19cad6346b570335aacaf1999f7bf243b70e7f29642a4a72e9561c23cb7a3
Parent
adb9e8e0bc01144…
1 file changed
+1
-1
+1
-1
| --- compat/zlib/zconf.h | ||
| +++ compat/zlib/zconf.h | ||
| @@ -429,11 +429,11 @@ | ||
| 429 | 429 | typedef Z_U4 z_crc_t; |
| 430 | 430 | #else |
| 431 | 431 | typedef unsigned long z_crc_t; |
| 432 | 432 | #endif |
| 433 | 433 | |
| 434 | -#if 1 /* was set to #if 1 by ./configure */ | |
| 434 | +#ifdef HAVE_UNISTD_H /* was set to #if 1 by ./configure */ | |
| 435 | 435 | # define Z_HAVE_UNISTD_H |
| 436 | 436 | #endif |
| 437 | 437 | |
| 438 | 438 | #if 1 /* was set to #if 1 by ./configure */ |
| 439 | 439 | # define Z_HAVE_STDARG_H |
| 440 | 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 | #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 |