From 4f97475d326c2773a78561fb874e4f23c25cbcd9 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 17 Feb 2019 17:44:42 +0100 Subject: 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) --- src/undo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/undo.c') diff --git a/src/undo.c b/src/undo.c index 6b6dd479b..b2d1d9f11 100644 --- 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) -- cgit v1.2.1