summaryrefslogtreecommitdiff
path: root/ext/mysqli/php_mysqli_structs.h
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
commitaff34b2133f89766ea1bc579a64817ee1f55214b (patch)
treeb86fe56bee29a48264d67d7302406cdb2fd7bc08 /ext/mysqli/php_mysqli_structs.h
parentd7b72a049414f1f4e74471f4f509e9db7172007b (diff)
downloadphp-git-aff34b2133f89766ea1bc579a64817ee1f55214b.tar.gz
Fix for bug #52413 MySQLi build failure on OS X
Diffstat (limited to 'ext/mysqli/php_mysqli_structs.h')
-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 4ab7adcba7..1760985701 100644
--- a/ext/mysqli/php_mysqli_structs.h
+++ b/ext/mysqli/php_mysqli_structs.h
@@ -56,6 +56,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)