Mercurial > vim
diff src/undo.c @ 15868:7fad90423bd2 v8.1.0941
patch 8.1.0941: macros for MS-Windows are inconsistent
commit https://github.com/vim/vim/commit/4f97475d326c2773a78561fb874e4f23c25cbcd9
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 17 17:44:42 2019 +0100
patch 8.1.0941: macros for MS-Windows are inconsistent
Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and
others.
Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the
GUI build. (Hirohito Higashi, closes #3932)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 17 Feb 2019 17:45:08 +0100 |
parents | 6f1c7e9a6393 |
children | 4411c38f3d16 |
line wrap: on
line diff
--- a/src/undo.c +++ b/src/undo.c @@ -645,7 +645,7 @@ u_savecommon( u_getbot(); } -#if !defined(UNIX) && !defined(WIN32) +#if !defined(UNIX) && !defined(MSWIN) /* * With Amiga we can't handle big undo's, because * then u_alloc_line would have to allocate a block larger than 32K @@ -1740,7 +1740,7 @@ write_error: if (!write_ok) semsg(_("E829: write error in undo file: %s"), file_name); -#if defined(WIN3264) +#if defined(MSWIN) /* Copy file attributes; for systems where this can only be done after * closing the file. */ if (buf->b_ffname != NULL)