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

@@ -4376,7 +4376,7 @@ vim_snprintf(str, str_m, fmt, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10)
{
/* Don't put the #if inside memchr(), it can be a
* macro. */
#if SIZEOF_INT <= 2
#if VIM_SIZEOF_INT <= 2
char *q = memchr(str_arg, '\0', precision);
#else
/* memchr on HP does not like n > 2^31 !!! */