Mercurial > vim
changeset 16338:366978ec2c03 v8.1.1174
patch 8.1.1174: cannot build with Ruby 1.8
commit https://github.com/vim/vim/commit/8dc4c7292364d31cfb8afa8a67984b78b657b192
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 14 19:42:13 2019 +0200
patch 8.1.1174: cannot build with Ruby 1.8
Problem: Cannot build with Ruby 1.8. (Tom G. Christensen)
Solution: Include ruby/st.h. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/4257)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Apr 2019 19:45:04 +0200 |
parents | b8fb927a044c |
children | 2b833d3a9a7e |
files | src/if_ruby.c src/version.c |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/if_ruby.c +++ b/src/if_ruby.c @@ -118,8 +118,11 @@ #ifdef RUBY19_OR_LATER # include <ruby/encoding.h> #endif +#ifndef RUBY19_OR_LATER +# include <st.h> // for ST_STOP and ST_CONTINUE +#endif -#undef off_t /* ruby defines off_t as _int64, Mingw uses long */ +#undef off_t // ruby defines off_t as _int64, Mingw uses long #undef EXTERN #undef _