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

ruby-changes:66464

From: Nobuyoshi <ko1@a...>
Date: Sun, 13 Jun 2021 15:13:24 +0900 (JST)
Subject: [ruby-changes:66464] 9ec6c83c97 (master): Removed duplicate include

https://git.ruby-lang.org/ruby.git/commit/?id=9ec6c83c97

From 9ec6c83c97d9e66b6d165329c0711bf8e096afaf Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sun, 13 Jun 2021 14:34:46 +0900
Subject: Removed duplicate include

---
 gc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gc.c b/gc.c
index 70fb47c..ec6946e 100644
--- a/gc.c
+++ b/gc.c
@@ -45,7 +45,7 @@ https://github.com/ruby/ruby/blob/trunk/gc.c#L45
 
 #ifdef HAVE_MALLOC_USABLE_SIZE
 # ifdef RUBY_ALTERNATIVE_MALLOC_HEADER
-#  include RUBY_ALTERNATIVE_MALLOC_HEADER
+/* Alternative malloc header is included in ruby/missing.h */
 # elif defined(HAVE_MALLOC_H)
 #  include <malloc.h>
 # elif defined(HAVE_MALLOC_NP_H)
-- 
cgit v1.1


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

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