File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2626
2727/* This is the heart of the whole int64 enablement in zval. */
2828#if defined(__X86_64__ ) || defined(__LP64__ ) || defined(_LP64 ) || defined(_WIN64 )
29- # define ZEND_ENABLE_INT64 1
29+ # define ZEND_ENABLE_ZVAL_LONG64 1
3030#endif
3131
3232/* Integer types or the old bad long. */
33- #ifdef ZEND_ENABLE_INT64
33+ #ifdef ZEND_ENABLE_ZVAL_LONG64
3434typedef int64_t zend_long ;
3535typedef uint64_t zend_ulong ;
3636typedef int64_t zend_off_t ;
@@ -61,7 +61,7 @@ typedef int32_t zend_off_t;
6161/* conversion macros */
6262#define ZEND_LTOA_BUF_LEN 65
6363
64- #ifdef ZEND_ENABLE_INT64
64+ #ifdef ZEND_ENABLE_ZVAL_LONG64
6565# define ZEND_LONG_FMT "%" PRId64
6666# define ZEND_ULONG_FMT "%" PRIu64
6767# define ZEND_LONG_FMT_SPEC PRId64
Original file line number Diff line number Diff line change 4343typedef unsigned char zend_bool ;
4444typedef unsigned char zend_uchar ;
4545
46- #ifdef ZEND_ENABLE_INT64
46+ #ifdef ZEND_ENABLE_ZVAL_LONG64
4747# ifdef ZEND_WIN32
4848# define ZEND_SIZE_MAX _UI64_MAX
4949# else
@@ -72,7 +72,7 @@ typedef unsigned long long zend_ulong64;
7272#endif
7373
7474/* XXX this won't work on X32 platform */
75- #ifdef ZEND_ENABLE_INT64
75+ #ifdef ZEND_ENABLE_ZVAL_LONG64
7676typedef int64_t zend_intptr_t ;
7777typedef uint64_t zend_uintptr_t ;
7878#else
You can’t perform that action at this time.
0 commit comments