summaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-02-23 22:52:40 +0100
committerBram Moolenaar <Bram@vim.org>2014-02-23 22:52:40 +0100
commita2aa31a9269641839178b0c0663dc67405c33d3e (patch)
treefba5b26febe0f352a4ad0a9cace397f479ced86c /src/fileio.c
parent7d311c52ce2859f67532e0a4b604eb8147473c01 (diff)
updated for version 7.4.188v7.4.188
Problem: SIZEOF_LONG clashes with similar defines in header files. Solution: Rename to a name starting with VIM_. Also for SIZEOF_INT.
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 0c1ff62ab2..6fcabd917a 100644
--- 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