summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.1174
blob: 067c0e94b3eb8bd954713bb851e691e6f5158e69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
To: vim_dev@googlegroups.com
Subject: Patch 8.1.1174
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
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 <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 -- 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    ///