Mercurial > vim
diff 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 |
line wrap: on
line diff
--- a/src/vim.h +++ b/src/vim.h @@ -2060,7 +2060,10 @@ typedef int sock_T; #define VV_COLLATE 97 #define VV_EXITING 98 #define VV_COLORNAMES 99 -#define VV_LEN 100 // number of v: vars +#define VV_SIZEOFINT 100 +#define VV_SIZEOFLONG 101 +#define VV_SIZEOFPOINTER 102 +#define VV_LEN 103 // number of v: vars // used for v_number in VAR_BOOL and VAR_SPECIAL #define VVAL_FALSE 0L // VAR_BOOL