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