mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02: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:
parent
984bcb5d69
commit
fffe642d67
7 changed files with 4 additions and 33 deletions
|
@ -84,10 +84,8 @@
|
|||
#define ssize_t SSIZE_T
|
||||
#ifdef _WIN64
|
||||
# define SIZEOF_SIZE_T 8
|
||||
# define SIZEOF_PTRDIFF_T 8
|
||||
#else
|
||||
# define SIZEOF_SIZE_T 4
|
||||
# define SIZEOF_PTRDIFF_T 4
|
||||
#endif
|
||||
#define SIZEOF_OFF_T 4
|
||||
#define HAVE_FNMATCH
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue