summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2011-03-23 17:14:28 +0000
committerAndrey Hristov <andrey@php.net>2011-03-23 17:14:28 +0000
commit3c364cbe52eeaf42a9d787bc911f538df2796932 (patch)
tree60f1d6eebb3585b66d6361ec72cf1ace99a6151c /ext/mysqlnd/mysqlnd.h
parent13a91f86b738de9aaeb4a03ca1dd5b1c6dc69c88 (diff)
downloadphp-git-3c364cbe52eeaf42a9d787bc911f538df2796932.tar.gz
Fix compressed build, make it easier
Diffstat (limited to 'ext/mysqlnd/mysqlnd.h')
-rw-r--r--ext/mysqlnd/mysqlnd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/mysqlnd/mysqlnd.h b/ext/mysqlnd/mysqlnd.h
index c7de15c9d9..3ea64e62f1 100644
--- a/ext/mysqlnd/mysqlnd.h
+++ b/ext/mysqlnd/mysqlnd.h
@@ -50,6 +50,10 @@
#define MYSQLND_DBG_ENABLED 0
#endif
+#if defined(MYSQLND_COMPRESSION_WANTED) && defined(HAVE_ZLIB)
+#define MYSQLND_COMPRESSION_ENABLED 1
+#endif
+
#ifdef ZTS
#include "TSRM.h"
#endif