Problem: Can't build GvimExt with MingW.
Solution: Adjust the makefile. (Ben Fritz)
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)
$(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 $@
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1508,
/**/
1507,
/**/