# HG changeset patch # User Bram Moolenaar # Date 1539717305 -7200 # Node ID d36dd08d36c1baaace01cc0d7ed7ba5428154354 # Parent f74c828b691cf79af1a40915184d53621b1729ad patch 8.1.0480: MinGW build file uses different -I flags than MVC commit https://github.com/vim/vim/commit/b361db077ffb9669147d3ff1cc0191154f7289e4 Author: Bram Moolenaar Date: Tue Oct 16 21:13:14 2018 +0200 patch 8.1.0480: MinGW build file uses different -I flags than MVC Problem: MinGW build file uses different -I flags than MVC. Solution: Add -I to $CFLAGS. (Ken takata) diff --git a/src/Make_cyg_ming.mak b/src/Make_cyg_ming.mak --- a/src/Make_cyg_ming.mak +++ b/src/Make_cyg_ming.mak @@ -501,7 +501,7 @@ endif #>>>>> end of choices ########################################################################### -CFLAGS = -Iproto $(DEFINES) -pipe -march=$(ARCH) -Wall +CFLAGS = -I. -Iproto $(DEFINES) -pipe -march=$(ARCH) -Wall CXXFLAGS = -std=gnu++11 WINDRES_FLAGS = --preprocessor="$(WINDRES_CC) -E -xc" -DRC_INVOKED EXTRA_LIBS = @@ -1049,7 +1049,7 @@ auto/if_perl.c: if_perl.xs typemap $(PERLTYPEMAP) if_perl.xs -output $@ $(OUTDIR)/if_perl.o: auto/if_perl.c $(INCL) - $(CC) -c $(CFLAGS) -I. auto/if_perl.c -o $(OUTDIR)/if_perl.o + $(CC) -c $(CFLAGS) auto/if_perl.c -o $(OUTDIR)/if_perl.o $(OUTDIR)/if_ruby.o: if_ruby.c $(INCL) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -793,6 +793,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 480, +/**/ 479, /**/ 478,