Skip to content

Commit 321ce11

Browse files
committed
Fixed if_ruby.c for compilation without Ruby.framework
1 parent 1cff6b2 commit 321ce11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/if_ruby.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,13 @@
113113
# define rb_gc_writebarrier_unprotect_promoted rb_gc_writebarrier_unprotect_promoted_stub
114114
# endif
115115

116-
#ifdef FEAT_GUI_MACVIM
116+
#ifdef RUBY_FRAMEWORK
117117
# include <Ruby/ruby.h>
118118
#else
119119
# include <ruby.h>
120120
#endif
121121
#ifdef RUBY19_OR_LATER
122-
# ifdef FEAT_GUI_MACVIM
122+
# ifdef RUBY_FRAMEWORK
123123
# include <Ruby/ruby/encoding.h>
124124
# else
125125
# include <ruby/encoding.h>

0 commit comments

Comments
 (0)