diff src/Make_cyg_ming.mak @ 19079:23df4b83fd31 v8.2.0100

patch 8.2.0100: macros for Ruby are too complicated Commit: https://github.com/vim/vim/commit/41a4141ecb36cd871c6e87f6fbc12fa81653b6be Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 7 21:32:19 2020 +0100 patch 8.2.0100: macros for Ruby are too complicated Problem: Macros for Ruby are too complicated. Solution: Do not use DYNAMIC_RUBY_VER, use RUBY_VERSION. (Ken Takata, closes #5452)
author Bram Moolenaar <Bram@vim.org>
date Tue, 07 Jan 2020 21:45:08 +0100
parents 4be592d96c20
children 38d18056e6e6
line wrap: on
line diff
--- a/src/Make_cyg_ming.mak
+++ b/src/Make_cyg_ming.mak
@@ -569,11 +569,8 @@ ifdef RUBY
 CFLAGS += -DFEAT_RUBY $(RUBYINC)
  ifeq (yes, $(DYNAMIC_RUBY))
 CFLAGS += -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL=\"$(RUBY_INSTALL_NAME).dll\"
-CFLAGS += -DDYNAMIC_RUBY_VER=$(RUBY_VER)
  endif
- ifeq (no, $(DYNAMIC_RUBY))
 CFLAGS += -DRUBY_VERSION=$(RUBY_VER)
- endif
  ifneq ($(findstring w64-mingw32,$(CC)),)
 # A workaround for MinGW-w64
 CFLAGS += -DHAVE_STRUCT_TIMESPEC -DHAVE_STRUCT_TIMEZONE