30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
From b5e9f810a8a5963104dd1897c3276f60786f9edb Mon Sep 17 00:00:00 2001
|
|
From: psykose <alice@ayaya.dev>
|
|
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.40.1
|
|
|