# HG changeset patch # User Bram Moolenaar # Date 1288194059 -7200 # Node ID bfd69bfb41491b83ac7a4b948c649eaec251c54d # Parent bc3f88ca060d25cad633a20548ca38cc529fa0ca updated for version 7.3.046 Problem: Can't build Ruby on MS-Windows. Solution: Add #ifdef, don't use WIN3264 before including vim.h. diff --git a/src/if_ruby.c b/src/if_ruby.c --- a/src/if_ruby.c +++ b/src/if_ruby.c @@ -14,7 +14,9 @@ #include #include -#include "auto/config.h" +#ifdef HAVE_CONFIG_H +# include "auto/config.h" +#endif #ifdef _WIN32 # if !defined(DYNAMIC_RUBY_VER) || (DYNAMIC_RUBY_VER < 18) @@ -50,7 +52,7 @@ # define RUBY_EXPORT # endif -#ifndef WIN3264 +#if !(defined(WIN32) || defined(_WIN64)) # include # define HINSTANCE void* # define RUBY_PROC void* diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 46, +/**/ 45, /**/ 44,