File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed
Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change 66have_func ( "rb_str_to_interned_str" , "ruby.h" ) # RUBY_VERSION >= 3.0
77have_func ( "rb_hash_new_capa" , "ruby.h" ) # RUBY_VERSION >= 3.2
88have_func ( "rb_hash_bulk_insert" , "ruby.h" ) # Missing on TruffleRuby
9- have_func ( "strnlen" , "string.h" ) # Missing on Solaris 10
109
1110append_cflags ( "-std=c99" )
1211
Original file line number Diff line number Diff line change @@ -296,15 +296,6 @@ static void rvalue_stack_eagerly_release(VALUE handle)
296296 }
297297}
298298
299-
300- #ifndef HAVE_STRNLEN
301- static size_t strnlen (const char * s , size_t maxlen )
302- {
303- char * p ;
304- return ((p = memchr (s , '\0' , maxlen )) ? p - s : maxlen );
305- }
306- #endif
307-
308299static int convert_UTF32_to_UTF8 (char * buf , uint32_t ch )
309300{
310301 int len = 1 ;
You can’t perform that action at this time.
0 commit comments