summaryrefslogtreecommitdiff
path: root/ext/mysql
diff options
context:
space:
mode:
authorMySQL Team <mysql@php.net>2001-01-24 18:11:25 +0000
committerMySQL Team <mysql@php.net>2001-01-24 18:11:25 +0000
commit5073b97ffb82d499b8e1eaa63b4ca36542affa35 (patch)
treea9eb59e4d6e2ace59b7ba2720868bdae7ee6fc80 /ext/mysql
parent5ad27928ac4d23476ca590ba6017ee02ffd21e35 (diff)
downloadphp-git-5073b97ffb82d499b8e1eaa63b4ca36542affa35.tar.gz
Don't #define HAVE_COMPRESS on windows.
Diffstat (limited to 'ext/mysql')
-rw-r--r--ext/mysql/libmysql/config-win.h2
-rwxr-xr-xext/mysql/libmysql/update_sources2
2 files changed, 3 insertions, 1 deletions
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";
}
}
}