0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.4.188

Problem:    SIZEOF_LONG clashes with similar defines in header files.
Solution:   Rename to a name starting with VIM_.  Also for SIZEOF_INT.
This commit is contained in:
Bram Moolenaar
2014-02-23 22:52:40 +01:00
parent 7d311c52ce
commit a2aa31a926
15 changed files with 61 additions and 36 deletions

View File

@@ -364,7 +364,7 @@ struct u_header
/*
* structures used in undo.c
*/
#if SIZEOF_INT > 2
#if VIM_SIZEOF_INT > 2
# define ALIGN_LONG /* longword alignment and use filler byte */
# define ALIGN_SIZE (sizeof(long))
#else
@@ -1094,7 +1094,7 @@ typedef struct hashtable_S
typedef long_u hash_T; /* Type for hi_hash */
#if SIZEOF_INT <= 3 /* use long if int is smaller than 32 bits */
#if VIM_SIZEOF_INT <= 3 /* use long if int is smaller than 32 bits */
typedef long varnumber_T;
#else
typedef int varnumber_T;