File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7059,7 +7059,7 @@ $as_echo "$rubyhdrdir" >&6; }
70597059 RUBY_LIBS=" $RUBY_LIBS -L$rubylibdir "
70607060 elif test -d " /System/Library/Frameworks/Ruby.framework" ; then
70617061 RUBY_LIBS=" -framework Ruby"
7062- RUBY_CFLAGS=" -DRUBY_VERSION=$rubyversion "
7062+ RUBY_CFLAGS=" -DRUBY_VERSION=$rubyversion -DRUBY_FRAMEWORK "
70637063 librubyarg=
70647064 fi
70657065
Original file line number Diff line number Diff line change @@ -1846,7 +1846,7 @@ if test "$enable_rubyinterp" = "yes" -o "$enable_rubyinterp" = "dynamic"; then
18461846 dnl On Mac OS X it is safer to just use the -framework flag
18471847 RUBY_LIBS="-framework Ruby"
18481848 dnl Don't include the -I flag when -framework is set
1849- RUBY_CFLAGS="-DRUBY_VERSION=$rubyversion"
1849+ RUBY_CFLAGS="-DRUBY_VERSION=$rubyversion -DRUBY_FRAMEWORK "
18501850 librubyarg=
18511851 fi
18521852
Original file line number Diff line number Diff line change 107107# define rb_num2int rb_num2int_stub
108108#endif
109109
110- #ifdef FEAT_GUI_MACVIM
110+ #ifdef RUBY_FRAMEWORK
111111# include <Ruby/ruby.h>
112112#else
113113# include <ruby.h>
114114#endif
115115#ifdef RUBY19_OR_LATER
116- # ifdef FEAT_GUI_MACVIM
116+ # ifdef RUBY_FRAMEWORK
117117# include <Ruby/ruby/encoding.h>
118118# else
119119# include <ruby/encoding.h>
You can’t perform that action at this time.
0 commit comments