0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 7.4.1508

Problem:    Can't build GvimExt with MingW.
Solution:   Adjust the makefile. (Ben Fritz)
This commit is contained in:
Bram Moolenaar 2016-03-07 20:58:50 +01:00
parent 4e329fcaf7
commit 47cff3a444
2 changed files with 7 additions and 1 deletions

View File

@ -43,6 +43,10 @@ else
DEL = del
endif
endif
# Set the default $(WINVER) to make it work with WinXP.
ifndef WINVER
WINVER = 0x0501
endif
CXX := $(CROSS_COMPILE)g++
WINDRES := $(CROSS_COMPILE)windres
WINDRES_CXX = $(CXX)
@ -68,7 +72,7 @@ $(DLL): $(OBJ) $(RES) $(DEFFILE)
$(LIBS)
gvimext.o: gvimext.cpp
$(CXX) $(CXXFLAGS) -DFEAT_GETTEXT -c $? -o $@
$(CXX) $(CXXFLAGS) -DFEAT_GETTEXT -DWINVER=$(WINVER) -D_WIN32_WINNT=$(WINVER) -c $? -o $@
$(RES): gvimext_ming.rc
$(WINDRES) $(WINDRES_FLAGS) --input-format=rc --output-format=coff -DMING $? -o $@

View File

@ -743,6 +743,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1508,
/**/
1507,
/**/