summaryrefslogtreecommitdiff
path: root/ext/mysqli/php_mysqli_structs.h
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-03-02 14:42:21 +0100
committerPeter Kokot <peterkokot@gmail.com>2019-03-06 22:49:16 +0100
commitbebcdcc74573b015c22238dbc9b2698c88b7a601 (patch)
treeb5e09615cbb36749b45789107899a931ed989274 /ext/mysqli/php_mysqli_structs.h
parent8c62c69265817bfd736ac77745cf7686a48d280c (diff)
downloadphp-git-bebcdcc74573b015c22238dbc9b2698c88b7a601.tar.gz
Remove legacy AC_CHECK_TYPE calls for uint and ulong
The AC_CHECK_TYPE was refactored in more recent versions of Autoconf and the call with two arguments is obsolete and not recommended anymore. This patch also refactors some leftovers of using ulong and uint which are not standard nor common usages of types in C. The ulong can be used as zend_ulong and uint usage is actually `unsigned int`. The usage of HAVE_ULONG removed since it is not used in current code base. Legacy edgecase for some legacy HPUX systems removed: - sys/stream.h header is not checked and the HAVE_SYS_STREAM_H is not defined with current build system. - flags are unsigned int - max_allowed_packet changed to unsigned int
Diffstat (limited to 'ext/mysqli/php_mysqli_structs.h')
-rw-r--r--ext/mysqli/php_mysqli_structs.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/mysqli/php_mysqli_structs.h b/ext/mysqli/php_mysqli_structs.h
index b309c21070..93fbc15e91 100644
--- a/ext/mysqli/php_mysqli_structs.h
+++ b/ext/mysqli/php_mysqli_structs.h
@@ -54,10 +54,6 @@
#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)