From: MySQL Team Date: Wed, 24 Jan 2001 18:11:25 +0000 (+0000) Subject: Don't #define HAVE_COMPRESS on windows. X-Git-Tag: php-4.0.5RC1~475 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5073b97ffb82d499b8e1eaa63b4ca36542affa35;p=php Don't #define HAVE_COMPRESS on windows. --- diff --git a/ext/mysql/libmysql/config-win.h b/ext/mysql/libmysql/config-win.h index 8567be406d..5d4d40d98b 100644 --- a/ext/mysql/libmysql/config-win.h +++ b/ext/mysql/libmysql/config-win.h @@ -239,7 +239,7 @@ inline double ulonglong2double(ulonglong value) #define HAVE_ALLOCA #define HAVE_STRPBRK #define HAVE_STRSTR -#define HAVE_COMPRESS +/* #define HAVE_COMPRESS -- not with PHP, please */ #ifdef NOT_USED #define HAVE_SNPRINTF /* Gave link error */ diff --git a/ext/mysql/libmysql/update_sources b/ext/mysql/libmysql/update_sources index 8a3919022e..573129b020 100755 --- a/ext/mysql/libmysql/update_sources +++ b/ext/mysql/libmysql/update_sources @@ -89,6 +89,8 @@ sub diff_files { else { print STDERR "DIFF: $f\n"; + $f eq 'config-win.h' and + print STDERR "/n/nDon't forget to undefine HAVE_COMPRESS in $f/n/n/n"; } } }