mirror of
https://github.com/vim/vim
synced 2025-03-30 06:26:45 +02:00
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 #4257)
This commit is contained in:
parent
a8356bc173
commit
8dc4c72923
2 changed files with 6 additions and 1 deletions
|
@ -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 _
|
||||
|
||||
|
|
|
@ -771,6 +771,8 @@ static char *(features[]) =
|
|||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1174,
|
||||
/**/
|
||||
1173,
|
||||
/**/
|
||||
|
|
Loading…
Add table
Reference in a new issue