summaryrefslogtreecommitdiff
path: root/mjit.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-04-27 13:14:08 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-04-27 13:14:08 +0000
commite858f8655a7bd79eb96e53495bc37fab26f50207 (patch)
tree57d7169521903d71bc9fba7b5d547d8d52227ae4 /mjit.c
parentfa7fa92870eefb2fa15497706b4e65e6c823f60a (diff)
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
Diffstat (limited to 'mjit.c')
-rw-r--r--mjit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mjit.c b/mjit.c
index 6d91afbaae..0b2bb98041 100644
--- a/mjit.c
+++ b/mjit.c
@@ -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;