summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-10-03 23:19:39 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-10-03 23:19:55 +0900
commitc198cf4329e3d68d38e98392494ecb74c830d7d4 (patch)
treec56ed0d9bf3f13f31660a85eee40d126cdc542e4 /file.c
parent8218cb73ba0b4c07d977fbf6e9fd02e1928288b7 (diff)
downloadruby-c198cf4329e3d68d38e98392494ecb74c830d7d4.tar.gz
Remove an unused macro [ci skip]
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 0 insertions, 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()
# 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