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

ruby-changes:73845

From: Nobuyoshi <ko1@a...>
Date: Mon, 3 Oct 2022 23:23:38 +0900 (JST)
Subject: [ruby-changes:73845] c198cf4329 (master): Remove an unused macro [ci skip]

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

From c198cf4329e3d68d38e98392494ecb74c830d7d4 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Mon, 3 Oct 2022 23:19:39 +0900
Subject: Remove an unused macro [ci skip]

---
 file.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/file.c b/file.c
index cc51373d46..0746e66092 100644
--- a/file.c
+++ b/file.c
@@ -2894,10 +2894,6 @@ RBIMPL_WARNING_POP() https://github.com/ruby/ruby/blob/trunk/file.c#L2894
 #   else /* __API_AVAILABLE macro does nothing on gcc */
 __attribute__((weak)) int utimensat(int, const char *, const struct timespec [2], int);
 #   endif
-
-#   define utimensat_available_p() (utimensat != NULL)
-# else
-#   define utimensat_available_p() 1
 # endif
 
 static int
-- 
cgit v1.2.1


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

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