Mercurial > vim
diff src/message.c @ 5684:136f05449f29 v7.4.188
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.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 23 Feb 2014 22:52:40 +0100 |
parents | 7f341db39d5b |
children | e13f8073c9f9 |
line wrap: on
line diff
--- a/src/message.c +++ b/src/message.c @@ -4376,7 +4376,7 @@ vim_snprintf(str, str_m, fmt, a1, a2, a3 { /* 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 !!! */