mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Remove HAVE_PTRDIFF_T and SIZEOF_PTRDIFF_T (#18968)
The ptrdiff_t is a C89 standard type defined in `<stddef.h>` and widely available on current platforms. Using it conditionally as in these occurrences is not needed anymore.
This commit is contained in:
@@ -454,7 +454,6 @@ AC_CHECK_TYPES([socklen_t], [], [], [
|
||||
dnl These are defined elsewhere than stdio.h.
|
||||
PHP_CHECK_SIZEOF([intmax_t], [0])
|
||||
PHP_CHECK_SIZEOF([ssize_t], [8])
|
||||
PHP_CHECK_SIZEOF([ptrdiff_t], [8])
|
||||
|
||||
dnl Check stdint types (must be after header check).
|
||||
PHP_CHECK_STDINT_TYPES
|
||||
|
||||
Reference in New Issue
Block a user