From bebcdcc74573b015c22238dbc9b2698c88b7a601 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sat, 2 Mar 2019 14:42:21 +0100 Subject: 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 --- main/php.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'main/php.h') diff --git a/main/php.h b/main/php.h index 066685cf9b..17aa3b3de5 100644 --- a/main/php.h +++ b/main/php.h @@ -95,8 +95,6 @@ typedef int uid_t; typedef int gid_t; typedef char * caddr_t; -typedef unsigned int uint; -typedef unsigned long ulong; typedef int pid_t; # ifndef PHP_DEBUG -- cgit v1.2.1