* [PATCH] erofs-utils: get rid of useless (l)stat64 for MacOS
@ 2023-09-10 11:57 Gao Xiang
0 siblings, 0 replies; only message in thread
From: Gao Xiang @ 2023-09-10 11:57 UTC (permalink / raw)
To: linux-erofs; +Cc: Gao Xiang
It breaks the MacOS build [1] and actually it has no use anymore
after commit 7715b294087e ("erofs-utils: configure: Use 64bit off_t").
[1] https://github.com/erofs/erofsnightly/actions/runs/6134394959/job/16647166641
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
---
include/erofs/defs.h | 5 -----
1 file changed, 5 deletions(-)
diff --git a/include/erofs/defs.h b/include/erofs/defs.h
index 20f9741..fefa7e7 100644
--- a/include/erofs/defs.h
+++ b/include/erofs/defs.h
@@ -338,11 +338,6 @@ unsigned long __roundup_pow_of_two(unsigned long n)
#define ST_MTIM_NSEC(stbuf) 0
#endif
-#ifdef __APPLE__
-#define stat64 stat
-#define lstat64 lstat
-#endif
-
#ifdef __cplusplus
}
#endif
--
2.24.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-10 11:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-10 11:57 [PATCH] erofs-utils: get rid of useless (l)stat64 for MacOS Gao Xiang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox