Explorar o código

Fix wasm compile error with lseek64, ftruncate64

Brian Fiete %!s(int64=2) %!d(string=hai) anos
pai
achega
659aeefa61
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      BeefySysLib/platform/wasm/WasmCommon.cpp

+ 3 - 0
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)