1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar 2010-10-27 17:40:59 +02:00
parent b3ae56cf2b
commit 2d73ff4500
2 changed files with 6 additions and 2 deletions

View File

@ -14,7 +14,9 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include "auto/config.h" #ifdef HAVE_CONFIG_H
# include "auto/config.h"
#endif
#ifdef _WIN32 #ifdef _WIN32
# if !defined(DYNAMIC_RUBY_VER) || (DYNAMIC_RUBY_VER < 18) # if !defined(DYNAMIC_RUBY_VER) || (DYNAMIC_RUBY_VER < 18)
@ -50,7 +52,7 @@
# define RUBY_EXPORT # define RUBY_EXPORT
# endif # endif
#ifndef WIN3264 #if !(defined(WIN32) || defined(_WIN64))
# include <dlfcn.h> # include <dlfcn.h>
# define HINSTANCE void* # define HINSTANCE void*
# define RUBY_PROC void* # define RUBY_PROC void*

View File

@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
46,
/**/ /**/
45, 45,
/**/ /**/