Mercurial > vim
changeset 8120:350f8040bd37 v7.4.1354
commit https://github.com/vim/vim/commit/223b723be0703137cf6373e23f8ae5c02e92ef82
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 19 19:43:49 2016 +0100
patch 7.4.1354
Problem: MS-Windows: Mismatch between default compile options and what the
code expects.
Solution: Change the default WINVER from 0x0500 to 0x0501. (Ken Takata)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 19 Feb 2016 19:45:04 +0100 |
parents | dcc24639d3df |
children | a479e3694985 |
files | src/Make_cyg_ming.mak src/Make_mvc.mak src/version.c |
diffstat | 3 files changed, 10 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Make_cyg_ming.mak +++ b/src/Make_cyg_ming.mak @@ -42,7 +42,7 @@ DIRECTX=no FEATURES=HUGE # Set to one of i386, i486, i586, i686 as the minimum target processor. # For amd64/x64 architecture set ARCH=x86-64 . -ARCH=i386 +ARCH=i686 # Set to yes to cross-compile from unix; no=native Windows (and Cygwin). CROSS=no # Set to path to iconv.h and libiconv.a to enable using 'iconv.dll'. @@ -58,9 +58,9 @@ DYNAMIC_IME=yes POSTSCRIPT=no # Set to yes to enable OLE support. OLE=no -# Set the default $(WINVER) to make it work with pre-Win2k. +# Set the default $(WINVER) to make it work with WinXP. ifndef WINVER -WINVER = 0x0500 +WINVER = 0x0501 endif # Set to yes to enable Cscope support. CSCOPE=yes @@ -483,14 +483,14 @@ endif endif ifdef PYTHON -CFLAGS += -DFEAT_PYTHON +CFLAGS += -DFEAT_PYTHON ifeq (yes, $(DYNAMIC_PYTHON)) CFLAGS += -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL=\"$(DYNAMIC_PYTHON_DLL)\" endif endif -ifdef PYTHON3 -CFLAGS += -DFEAT_PYTHON3 +ifdef PYTHON3 +CFLAGS += -DFEAT_PYTHON3 ifeq (yes, $(DYNAMIC_PYTHON3)) CFLAGS += -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL=\"$(DYNAMIC_PYTHON3_DLL)\" endif
--- a/src/Make_mvc.mak +++ b/src/Make_mvc.mak @@ -113,7 +113,7 @@ # Processor Version: CPUNR=[i386, i486, i586, i686, pentium4] (default is # i386) # -# Version Support: WINVER=[0x0400, 0x0500] (default is 0x0500) +# Version Support: WINVER=[0x0501, 0x0600] (default is 0x0501) # # Debug version: DEBUG=yes # Mapfile: MAP=[no, yes or lines] (default is yes) @@ -371,7 +371,7 @@ CON_LIB = $(CON_LIB) /DELAYLOAD:comdlg32 ### Set the default $(WINVER) to make it work with VC++7.0 (VS.NET) !ifndef WINVER -WINVER = 0x0500 +WINVER = 0x0501 !endif # If you have a fixed directory for $VIM or $VIMRUNTIME, other than the normal