1
0
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:
Peter Kokot
2025-06-28 20:16:12 +02:00
committed by GitHub
parent 984bcb5d69
commit fffe642d67
7 changed files with 4 additions and 33 deletions

View File

@@ -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