Mercurial > vim
diff src/if_tcl.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 | dd725a8ab112 |
children | cd5c83115ec6 |
line wrap: on
line diff
--- a/src/if_tcl.c +++ b/src/if_tcl.c @@ -160,7 +160,7 @@ static struct ref refsdeleted; /* dummy typedef int HANDLE; # endif -# ifndef WIN3264 +# ifndef MSWIN # include <dlfcn.h> # define HANDLE void* # define TCL_PROC void* @@ -1741,11 +1741,11 @@ tclinit(exarg_T *eap) #endif Tcl_SetChannelOption(interp, ch1, "-buffering", "line"); -#ifdef WIN3264 +#ifdef MSWIN Tcl_SetChannelOption(interp, ch1, "-translation", "lf"); #endif Tcl_SetChannelOption(interp, ch2, "-buffering", "line"); -#ifdef WIN3264 +#ifdef MSWIN Tcl_SetChannelOption(interp, ch2, "-translation", "lf"); #endif