summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-02-14 21:27:13 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-02-14 21:27:13 +0000
commitf8e0290cd613c3e9fa5489486becf71c7374e678 (patch)
treea64deffb8ca5b0aabbf60faa9f81fea961cf2cd4
parentc59240d599260e19b2522a660af7ae1fcade1f1f (diff)
downloadphp-git-f8e0290cd613c3e9fa5489486becf71c7374e678.tar.gz
Allow mysqli to be built when imap (c-client) is used.
-rw-r--r--ext/mysqli/php_mysqli.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/mysqli/php_mysqli.h b/ext/mysqli/php_mysqli.h
index dde223bf10..1723b8f0f2 100644
--- a/ext/mysqli/php_mysqli.h
+++ b/ext/mysqli/php_mysqli.h
@@ -18,6 +18,13 @@
$Id$
*/
+/* A little hack to prevent build break, when mysql is used together with
+ * c-client, which also defines LIST.
+ */
+#ifdef LIST
+#undef LIST
+#endif
+
#include <mysql.h>
#ifndef PHP_MYSQLI_H