mirror of
https://github.com/termux/termux-packages.git
synced 2025-07-23 17:51:41 +00:00
* Enable auto update * Enable full features for arm * Preliminary x86 support Add lib-system-allocator.cpp.patch to build further but someone has to fix remaining issues for i686 * Remove getsockopt-socklen_t.patch No longer needed to fix type uint32_t to socklen_t (int32_t) for 32bit platforms
13 lines
617 B
Diff
13 lines
617 B
Diff
diff -uNr WasmEdge-0.13.3/lib/system/allocator.cpp WasmEdge-0.13.3.mod/lib/system/allocator.cpp
|
|
--- WasmEdge-0.13.3/lib/system/allocator.cpp 2023-07-25 18:13:24.000000000 +0800
|
|
+++ WasmEdge-0.13.3.mod/lib/system/allocator.cpp 2023-09-02 11:04:52.146376442 +0800
|
|
@@ -10,7 +10,7 @@
|
|
#if WASMEDGE_OS_WINDOWS
|
|
#include "system/winapi.h"
|
|
#elif defined(HAVE_MMAP) && defined(__x86_64__) || defined(__aarch64__) || \
|
|
- defined(__arm__) || (defined(__riscv) && __riscv_xlen == 64)
|
|
+ defined(__arm__) || (defined(__riscv) && __riscv_xlen == 64) || defined(__i386__)
|
|
#include <sys/mman.h>
|
|
#else
|
|
#include <cctype>
|