Przeglądaj źródła

Fix wasm compile error with lseek64, ftruncate64

Brian Fiete 2 lat temu
rodzic
commit
659aeefa61
1 zmienionych plików z 3 dodań i 0 usunięć
  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)