mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-04 10:04:36 +02:00
11 lines
293 B
Diff
11 lines
293 B
Diff
--- a/src/calibre/utils/speedup.c
|
|
+++ b/src/calibre/utils/speedup.c
|
|
@@ -748,7 +748,7 @@
|
|
break;
|
|
}
|
|
#else
|
|
-#ifdef __linux__
|
|
+#ifdef __GLIBC__
|
|
ssize_t nr = pread64(fd, buf + pos, n - pos, offset);
|
|
#else
|
|
ssize_t nr = pread(fd, buf + pos, n - pos, offset);
|