changeset 2116:2832243e801e v7.2.399

updated for version 7.2.399 Problem: Cannot compile on MingW Solution: Move ifneq to separate line. (Vlad Sandrini, Dominique Pelle)
author Bram Moolenaar <bram@zimbu.org>
date Wed, 17 Mar 2010 17:25:09 +0100
parents 5fd44cf99b6d
children 4be6da0fa3d9
files src/Make_ming.mak src/version.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/Make_ming.mak
+++ b/src/Make_ming.mak
@@ -215,12 +215,14 @@ endif
 ifndef RUBY_PLATFORM
 ifeq ($(RUBY_VER), 16)
 RUBY_PLATFORM = i586-mswin32
-else ifneq ("X$(wildcard, $(RUBY)/lib/ruby/$(RUBY_VER_LONG)/i386-mingw32)", X)
+else
+ifneq ($(wildcard $(RUBY)/lib/ruby/$(RUBY_VER_LONG)/i386-mingw32),)
 RUBY_PLATFORM = i386-mingw32
 else
 RUBY_PLATFORM = i386-mswin32
 endif
 endif
+endif
 
 ifndef RUBY_INSTALL_NAME
 ifeq ($(RUBY_VER), 16)
--- a/src/version.c
+++ b/src/version.c
@@ -682,6 +682,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    399,
+/**/
     398,
 /**/
     397,