[前][次][番号順一覧][スレッド一覧]

ruby-changes:51067

From: nobu <ko1@a...>
Date: Fri, 27 Apr 2018 22:14:14 +0900 (JST)
Subject: [ruby-changes:51067] nobu:r63274 (trunk): mjit.c: remove undef

nobu	2018-04-27 22:14:08 +0900 (Fri, 27 Apr 2018)

  New Revision: 63274

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63274

  Log:
    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.

  Modified files:
    trunk/mjit.c
Index: mjit.c
===================================================================
--- mjit.c	(revision 63273)
+++ mjit.c	(revision 63274)
@@ -449,7 +449,6 @@ static void https://github.com/ruby/ruby/blob/trunk/mjit.c#L449
 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;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]