1 diff -burN php-4.3.2/main/SAPI.c php-4.3.2-dl_zlib/main/SAPI.c
2 --- php-4.3.2/main/SAPI.c Wed Feb 12 00:30:13 2003
3 +++ php-4.3.2-dl_zlib/main/SAPI.c Wed Jun 11 09:41:47 2003
5 while (*ptr == ' ' && *ptr != '\0') {
9 +#if HAVE_ZLIB && !defined(COMPILE_DL_ZLIB)
10 if(!strncmp(ptr, "image/", sizeof("image/")-1)) {
11 zend_alter_ini_entry("zlib.output_compression", sizeof("zlib.output_compression"), "0", sizeof("0") - 1, PHP_INI_USER, PHP_INI_STAGE_RUNTIME);
18 +#if HAVE_ZLIB && !defined(COMPILE_DL_ZLIB)
19 /* Add output compression headers at this late stage in order to make
20 it possible to switch it off inside the script. */