Skip to content

Instantly share code, notes, and snippets.

@robhurring
Created April 24, 2011 17:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robhurring/939719 to your computer and use it in GitHub Desktop.
Save robhurring/939719 to your computer and use it in GitHub Desktop.
MySQLi PHP 5.3 compile error solution
Index: ext/mysqli/php_mysqli_structs.h
===================================================================
--- ext/mysqli/php_mysqli_structs.h (revision 301474)
+++ ext/mysqli/php_mysqli_structs.h (working copy)
@@ -54,6 +54,7 @@
#define WE_HAD_MBSTATE_T
#endif
+#define HAVE_ULONG 1
#include <my_global.h>
#if !defined(HAVE_MBRLEN) && defined(WE_HAD_MBRLEN)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment