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 <ruby/encoding.h>
  #endif
  
! #undef off_t  /* ruby defines off_t as _int64, Mingw uses long */
  #undef EXTERN
  #undef _
  
--- 118,128 ----
  #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 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 -- [email protected] -- 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    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui