summaryrefslogtreecommitdiff
path: root/ext/mysql/libmysql/my_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysql/libmysql/my_config.h')
-rw-r--r--ext/mysql/libmysql/my_config.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/ext/mysql/libmysql/my_config.h b/ext/mysql/libmysql/my_config.h
index f1038d825a..ba354523f8 100644
--- a/ext/mysql/libmysql/my_config.h
+++ b/ext/mysql/libmysql/my_config.h
@@ -1 +1,11 @@
-#include "php_config.h"
+#include <php_config.h>
+
+/* PHP might define ulong, but we want to use our own typedef */
+#ifdef ulong
+#undef ulong
+#endif
+
+/* The client doesn't use multiple charsets, so only the compiled-in
+ default is really needed */
+#define SHAREDIR "NONEXISTENT"
+#define DEFAULT_CHARSET_HOME SHAREDIR