Remove HAVE_INTMAX_T and SIZEOF_INTMAX_T (#18971)

The intmax_t is a C99 standard type defined in `<stdint.h>` and widely
available on current platforms. On Windows they are available as of
Visual Studio 2013. Using it conditionally as in these occurrences is
not needed anymore.
This commit is contained in:
Peter Kokot 2025-06-29 19:50:27 +02:00 committed by GitHub
parent 9644ba6dcd
commit 93e3aca5fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 3 additions and 29 deletions

View file

@ -78,9 +78,8 @@
/* int and long are still 32bit in 64bit compiles */
#define SIZEOF_INT 4
#define SIZEOF_LONG 4
/* MSVC.6/NET don't allow 'long long' or know 'intmax_t' */
/* MSVC.6/NET don't allow 'long long' */
#define SIZEOF_LONG_LONG 8 /* defined as __int64 */
#define SIZEOF_INTMAX_T 0
#define ssize_t SSIZE_T
#ifdef _WIN64
# define SIZEOF_SIZE_T 8