Mercurial > vim
comparison src/vim.h @ 26079:a60952e58e5d v8.2.3573
patch 8.2.3573: cannot decide whether to skip test that fails with 64 bit
Commit: https://github.com/vim/vim/commit/69b3072d984480935ec412b32b97fea974d2b689
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 2 21:39:49 2021 +0000
patch 8.2.3573: cannot decide whether to skip test that fails with 64 bit
Problem: Cannot decide whether to skip test that fails with 64 bit ints.
(closes https://github.com/vim/vim/issues/9072)
Solution: Add v:sizeofint, v:sizeoflong and v:sizeofpointer. Improve the
check for multiply overflow.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 02 Nov 2021 22:45:04 +0100 |
parents | e38c45dbcc70 |
children | d4d9c7c55a5f |
comparison
equal
deleted
inserted
replaced
26078:42fae7319298 | 26079:a60952e58e5d |
---|---|
2058 #define VV_ECHOSPACE 95 | 2058 #define VV_ECHOSPACE 95 |
2059 #define VV_ARGV 96 | 2059 #define VV_ARGV 96 |
2060 #define VV_COLLATE 97 | 2060 #define VV_COLLATE 97 |
2061 #define VV_EXITING 98 | 2061 #define VV_EXITING 98 |
2062 #define VV_COLORNAMES 99 | 2062 #define VV_COLORNAMES 99 |
2063 #define VV_LEN 100 // number of v: vars | 2063 #define VV_SIZEOFINT 100 |
2064 #define VV_SIZEOFLONG 101 | |
2065 #define VV_SIZEOFPOINTER 102 | |
2066 #define VV_LEN 103 // number of v: vars | |
2064 | 2067 |
2065 // used for v_number in VAR_BOOL and VAR_SPECIAL | 2068 // used for v_number in VAR_BOOL and VAR_SPECIAL |
2066 #define VVAL_FALSE 0L // VAR_BOOL | 2069 #define VVAL_FALSE 0L // VAR_BOOL |
2067 #define VVAL_TRUE 1L // VAR_BOOL | 2070 #define VVAL_TRUE 1L // VAR_BOOL |
2068 #define VVAL_NONE 2L // VAR_SPECIAL | 2071 #define VVAL_NONE 2L // VAR_SPECIAL |