1
0
forked from aniani/vim

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 #9072)
Solution:   Add v:sizeofint, v:sizeoflong and v:sizeofpointer.  Improve the
            check for multiply overflow.
This commit is contained in:
Bram Moolenaar
2021-11-02 21:39:49 +00:00
parent 7a33ebfc5b
commit 69b3072d98
5 changed files with 14 additions and 9 deletions

View File

@@ -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