Fossil SCM
Revert some changes made by ./configure on Linux which prevented zlib from building on Windows.
Commit
219539c4707f84b93762829c171543f5fbe11289159241c5bf060e6ac360e1c4
Parent
3c95062e7489bea…
1 file changed
+2
-2
+2
-2
| --- compat/zlib/zconf.h | ||
| +++ compat/zlib/zconf.h | ||
| @@ -441,15 +441,15 @@ | ||
| 441 | 441 | typedef Z_U4 z_crc_t; |
| 442 | 442 | #else |
| 443 | 443 | typedef unsigned long z_crc_t; |
| 444 | 444 | #endif |
| 445 | 445 | |
| 446 | -#if 1 /* was set to #if 1 by ./configure */ | |
| 446 | +#if HAVE_UNISTD_H-0 /* may be set to #if 1 by ./configure */ | |
| 447 | 447 | # define Z_HAVE_UNISTD_H |
| 448 | 448 | #endif |
| 449 | 449 | |
| 450 | -#if 1 /* was set to #if 1 by ./configure */ | |
| 450 | +#if HAVE_STDARG_H-0 /* may be set to #if 1 by ./configure */ | |
| 451 | 451 | # define Z_HAVE_STDARG_H |
| 452 | 452 | #endif |
| 453 | 453 | |
| 454 | 454 | #ifdef STDC |
| 455 | 455 | # ifndef Z_SOLO |
| 456 | 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 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 |