summaryrefslogtreecommitdiff
path: root/src/if_ruby.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-19 13:22:12 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-19 13:22:12 +0100
commitef26954a35207c3f17d6ed35d9a40c918d974892 (patch)
tree331d57d214bf4d20bbfa6b8f4d0155a4c5b1e9b6 /src/if_ruby.c
parent99dbe291f55022bd5166c9c3c7967b8693cd9d1b (diff)
downloadvim-git-ef26954a35207c3f17d6ed35d9a40c918d974892.tar.gz
patch 7.4.1133v7.4.1133
Problem: Generated function prototypes still have __ARGS(). Solution: Generate function prototypes without __ARGS().
Diffstat (limited to 'src/if_ruby.c')
-rw-r--r--src/if_ruby.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_ruby.c b/src/if_ruby.c
index 8b1590eb9..96d9453db 100644
--- a/src/if_ruby.c
+++ b/src/if_ruby.c
@@ -189,7 +189,7 @@ static void ruby_vim_init(void);
#endif
#if defined(DYNAMIC_RUBY) || defined(PROTO)
-# ifdef PROTO
+# if defined(PROTO) && !defined(HINSTANCE)
# define HINSTANCE int /* for generating prototypes */
# endif