mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
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:
parent
9644ba6dcd
commit
93e3aca5fa
6 changed files with 3 additions and 29 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue