summaryrefslogtreecommitdiff
path: root/main
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 /main
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 'main')
-rw-r--r--main/php.h2
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