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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user