Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ ENV['MRUBY_VERSION'] ||= 'stable'
file :mruby do
case ENV['MRUBY_VERSION']&.downcase
when 'head', 'master'
sh(*%w[git clone --depth 1 git://github.com/mruby/mruby.git])
sh(*%w[git clone --depth 1 https://@github.com/mruby/mruby.git])
when 'stable'
sh(*%w[git clone --depth 1 git://github.com/mruby/mruby.git -b stable])
sh(*%w[git clone --depth 1 https://@github.com/mruby/mruby.git -b stable])
else
sh "curl -L --fail --retry 3 --retry-delay 1 https://github.com/mruby/mruby/archive/#{ENV['MRUBY_VERSION']}.tar.gz -s -o - | tar zxf -" # rubocop:disable Layout/LineLength
mv "mruby-#{ENV['MRUBY_VERSION']}", 'mruby'
Expand Down
4 changes: 4 additions & 0 deletions src/mrb_thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
#include <stdio.h>
#include <stdlib.h>

#if MRUBY_RELEASE_NO > 30100
# include <mruby/internal.h>
#endif

/*
For backward compatibility.
See also https://github.com/mruby/mruby/commit/79a621dd739faf4cc0958e11d6a887331cf79e48
Expand Down