From 4cf06fff68090b1681d070a55214f2ab26754edf Mon Sep 17 00:00:00 2001 From: psykose Date: Mon, 29 May 2023 15:33:11 +0000 Subject: [PATCH 33/33] libphobos: do not use LFS64 symbols musl does not have these since 1.2.4, we can't use the compat interfaces. --- libphobos/libdruntime/core/sys/posix/sys/mman.d | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libphobos/libdruntime/core/sys/posix/sys/mman.d b/libphobos/libdruntime/core/sys/posix/sys/mman.d index 0d3d517d69a..323aa0af72d 100644 --- a/libphobos/libdruntime/core/sys/posix/sys/mman.d +++ b/libphobos/libdruntime/core/sys/posix/sys/mman.d @@ -293,11 +293,7 @@ else version (CRuntime_Bionic) } else version (CRuntime_Musl) { - static if (__USE_LARGEFILE64) void* mmap64(void*, size_t, int, int, int, off_t); - static if (__USE_FILE_OFFSET64) - alias mmap = mmap64; - else - void* mmap(void*, size_t, int, int, int, off_t); + void* mmap(void*, size_t, int, int, int, off_t); int munmap(void*, size_t); } else version (CRuntime_UClibc) -- 2.41.0