Mercurial > vim
diff src/fileio.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 | 391e10afccf6 |
children | 6050f52d7cd8 |
line wrap: on
line diff
--- a/src/fileio.c +++ b/src/fileio.c @@ -1185,7 +1185,7 @@ retry: * The amount is limited by the fact that read() only can read * upto max_unsigned characters (and other things). */ -#if SIZEOF_INT <= 2 +#if VIM_SIZEOF_INT <= 2 if (linerest >= 0x7ff0) { ++split; @@ -1197,7 +1197,7 @@ retry: { if (!skip_read) { -#if SIZEOF_INT > 2 +#if VIM_SIZEOF_INT > 2 # if defined(SSIZE_MAX) && (SSIZE_MAX < 0x10000L) size = SSIZE_MAX; /* use max I/O size, 52K */ # else