0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-11 23:00:52 +00:00
termux-packages/packages/blink/blink-machine.h.patch
Jia Yuan Lo 749b97f2d7
enhance(main/blink): various enhancements (#18573)
* ignore QEMU -E and -U options
  add compatibility with proot

* enable all the supported compiler flags

* enable bad syscalls (handled by proot)
2023-11-29 10:14:38 +08:00

11 lines
349 B
Diff

--- a/blink/machine.h
+++ b/blink/machine.h
@@ -113,6 +113,7 @@
#define HOSTPAGE_CONTAINER(e) DLL_CONTAINER(struct HostPage, elem, e)
#if defined(NOLINEAR) || defined(__SANITIZE_THREAD__) || \
+ defined(__ANDROID__) || \
defined(__CYGWIN__) || defined(__NetBSD__) || defined(__COSMOPOLITAN__)
#define CanHaveLinearMemory() false
#else