Hi Paolo,
> > +#ifdef EMSCRIPTEN
> > +/*
> > + * emscripten exposes copy_file_range declaration but doesn't provide
the
> > + * implementation in the final link. Define the stub here but avoid
type
> > + * conflict with the emscripten's header.
> > + */
> > +ssize_t copy_file_range(int in_fd, off_
On 4/7/25 16:45, Kohei Tokunaga wrote:
+#ifdef EMSCRIPTEN
+/*
+ * emscripten exposes copy_file_range declaration but doesn't provide the
+ * implementation in the final link. Define the stub here but avoid type
+ * conflict with the emscripten's header.
+ */
+ssize_t copy_file_range(int in_fd, of
Signed-off-by: Kohei Tokunaga
---
block/file-posix.c| 18 ++
include/qemu/cacheflush.h | 3 ++-
os-posix.c| 5 +
util/cacheflush.c | 3 ++-
4 files changed, 27 insertions(+), 2 deletions(-)
diff --git a/block/file-posix.c b/block/file-posix.