To: vim_dev@googlegroups.com Subject: Patch 8.1.1174 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.1.1174 Problem: Cannot build with Ruby 1.8. (Tom G. Christensen) Solution: Include ruby/st.h. (Ozaki Kiichi, closes #4257) Files: src/if_ruby.c *** ../vim-8.1.1173/src/if_ruby.c 2019-03-30 18:46:57.352077376 +0100 --- src/if_ruby.c 2019-04-14 19:32:16.590815373 +0200 *************** *** 118,125 **** #ifdef RUBY19_OR_LATER # include #endif ! #undef off_t /* ruby defines off_t as _int64, Mingw uses long */ #undef EXTERN #undef _ --- 118,128 ---- #ifdef RUBY19_OR_LATER # include #endif + #ifndef RUBY19_OR_LATER + # include // for ST_STOP and ST_CONTINUE + #endif ! #undef off_t // ruby defines off_t as _int64, Mingw uses long #undef EXTERN #undef _ *** ../vim-8.1.1173/src/version.c 2019-04-14 14:31:07.040828452 +0200 --- src/version.c 2019-04-14 19:33:30.346401011 +0200 *************** *** 773,774 **** --- 773,776 ---- { /* Add new patch number below this line */ + /**/ + 1174, /**/ -- Ten bugs in the hand is better than one as yet undetected. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///