diff options
author | Peter Kokot <peterkokot@gmail.com> | 2019-03-02 14:42:21 +0100 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2019-03-06 22:49:16 +0100 |
commit | bebcdcc74573b015c22238dbc9b2698c88b7a601 (patch) | |
tree | b5e09615cbb36749b45789107899a931ed989274 /main | |
parent | 8c62c69265817bfd736ac77745cf7686a48d280c (diff) | |
download | php-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 'main')
-rw-r--r-- | main/php.h | 2 |
1 files changed, 0 insertions, 2 deletions
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 |