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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 4 additions and 33 deletions

View file

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