mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -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:
@@ -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
|
||||
|
Reference in New Issue
Block a user