1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

mjit.c: remove undef

* mjit.c (clean_so_file): removed unnecessary undef of `Sleep`
  which is redfined as rb_w32_sleep.  eventually, retry loop with
  sleep has been removed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-04-27 13:14:08 +00:00
parent fa7fa92870
commit e858f8655a

1
mjit.c
View file

@ -449,7 +449,6 @@ static void
clean_so_file(struct rb_mjit_unit *unit)
{
#ifdef _WIN32
# undef Sleep
char *so_file = unit->so_file;
if (so_file) {
unit->so_file = NULL;