# HG changeset patch # User Bram Moolenaar # Date 1413367631 -7200 # Node ID 4c29b75cae193c039f44ad438f772f8af19d2bb3 # Parent 79c59b4c9d20e5d7de9b5018062289d9a21887e4 updated for version 7.4.476 Problem: MingW: compiling with "XPM=no" doesn't work. Solution: Check for the "no" value. (KF Leong) Also for Cygwin. (Ken Takata) diff --git a/src/Make_cyg.mak b/src/Make_cyg.mak --- a/src/Make_cyg.mak +++ b/src/Make_cyg.mak @@ -485,7 +485,7 @@ USE_STDCPLUS = yes endif ############################## -ifdef XPM +ifneq ($(XPM),no) # Only allow XPM for a GUI build. DEFINES += -DFEAT_XPM_W32 INCLUDES += -I$(XPM)/include diff --git a/src/Make_ming.mak b/src/Make_ming.mak --- a/src/Make_ming.mak +++ b/src/Make_ming.mak @@ -22,7 +22,7 @@ # http://www.matcode.com/mpress.htm # # Maintained by Ron Aaron et al. -# Updated 2012 Sep 5. +# Updated 2014 Oct 13. #>>>>> choose options: # set to yes for a debug build @@ -613,7 +613,7 @@ LIB += -ld2d1 -ldwrite USE_STDCPLUS = yes endif endif -ifdef XPM +ifneq ($(XPM),no) # Only allow XPM for a GUI build. ifeq (yes, $(GUI)) OBJ += $(OUTDIR)/xpm_w32.o diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 476, +/**/ 475, /**/ 474,