From 659aeefa6136b0382372a257e0bcfb49a2083382 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Thu, 27 Jul 2023 07:16:18 -0700 Subject: [PATCH] Fix wasm compile error with lseek64, ftruncate64 --- BeefySysLib/platform/wasm/WasmCommon.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BeefySysLib/platform/wasm/WasmCommon.cpp b/BeefySysLib/platform/wasm/WasmCommon.cpp index d901a121..c6bf2d36 100644 --- a/BeefySysLib/platform/wasm/WasmCommon.cpp +++ b/BeefySysLib/platform/wasm/WasmCommon.cpp @@ -1,3 +1,6 @@ +#define lseek64 lseek +#define ftruncate64 ftruncate + #include "../posix/PosixCommon.cpp" extern "C" uintptr_t _Unwind_GetIP(struct _Unwind_Context *context)