commit | ef26954a35207c3f17d6ed35d9a40c918d974892 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Jan 19 13:22:12 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Jan 19 13:22:12 2016 +0100 |
tree | 331d57d214bf4d20bbfa6b8f4d0155a4c5b1e9b6 | |
parent | 99dbe291f55022bd5166c9c3c7967b8693cd9d1b [diff] [blame] |
patch 7.4.1133 Problem: Generated function prototypes still have __ARGS(). Solution: Generate function prototypes without __ARGS().
diff --git a/src/if_ruby.c b/src/if_ruby.c index 8b1590e..96d9453 100644 --- a/src/if_ruby.c +++ b/src/if_ruby.c
@@ -189,7 +189,7 @@ #endif #if defined(DYNAMIC_RUBY) || defined(PROTO) -# ifdef PROTO +# if defined(PROTO) && !defined(HINSTANCE) # define HINSTANCE int /* for generating prototypes */ # endif