aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGao Xiang <hsiangkao@linux.alibaba.com>2023-09-10 19:57:44 +0800
committerGao Xiang <hsiangkao@linux.alibaba.com>2023-09-11 11:21:47 +0800
commit14c4c9cb18a7ac01cf3bf02743daf777b3f5fa82 (patch)
tree47845c99b068725061568009f093fdd55cad9d4f
parent884866ca07817e97c59605a2fa858a0b732d3f3c (diff)
downloaderofs-utils-14c4c9cb18a7ac01cf3bf02743daf777b3f5fa82.tar.gz
erofs-utils: get rid of useless (l)stat64 for MacOS
They break the MacOS build [1] and actually have 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> Link: https://lore.kernel.org/r/20230910115744.83819-1-hsiangkao@linux.alibaba.com
-rw-r--r--include/erofs/defs.h5
1 files changed, 0 insertions, 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