mirror of
https://github.com/php/php-src.git
synced 2024-11-24 02:15:04 +08:00
rely on macros from stdint for int constants on 64 bit
32 bit ones are already in use
This commit is contained in:
parent
f248df9003
commit
79c9dc75de
@ -37,13 +37,8 @@ typedef int64_t zend_off_t;
|
||||
# define ZEND_LONG_MAX INT64_MAX
|
||||
# define ZEND_LONG_MIN INT64_MIN
|
||||
# define ZEND_ULONG_MAX UINT64_MAX
|
||||
# ifdef _WIN64
|
||||
# define Z_L(i) i##i64
|
||||
# define Z_UL(i) i##Ui64
|
||||
# else
|
||||
# define Z_L(i) i##LL
|
||||
# define Z_UL(i) i##ULL
|
||||
# endif
|
||||
# define Z_L(i) INT64_C(i)
|
||||
# define Z_UL(i) UINT64_C(i)
|
||||
# define SIZEOF_ZEND_LONG 8
|
||||
#else
|
||||
typedef int32_t zend_long;
|
||||
|
Loading…
Reference in New Issue
Block a user