summaryrefslogtreecommitdiff
path: root/ext/mysqli
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2010-08-13 09:57:04 +0000
committerAndrey Hristov <andrey@php.net>2010-08-13 09:57:04 +0000
commita6100682d07441da087dd7442ec5f06b2408b0ae (patch)
tree6532c65ba7c07c22aa27d7bb134e86920a3c80aa /ext/mysqli
parent973e134d2d2719a105b7fcec7ea230c4157f9e93 (diff)
downloadphp-git-a6100682d07441da087dd7442ec5f06b2408b0ae.tar.gz
Fix for bug #52413 MySQLi build failure on OS X
Diffstat (limited to 'ext/mysqli')
-rw-r--r--ext/mysqli/php_mysqli_structs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/mysqli/php_mysqli_structs.h b/ext/mysqli/php_mysqli_structs.h
index 41d14f2002..1324f5a458 100644
--- a/ext/mysqli/php_mysqli_structs.h
+++ b/ext/mysqli/php_mysqli_structs.h
@@ -54,6 +54,10 @@
#define WE_HAD_MBSTATE_T
#endif
+#if defined(ulong) && !defined(HAVE_ULONG)
+#define HAVE_ULONG
+#endif
+
#include <my_global.h>
#if !defined(HAVE_MBRLEN) && defined(WE_HAD_MBRLEN)