about summary refs log tree commit diff stats
path: root/src/elfs
diff options
context:
space:
mode:
authorptitSeb <seebastien.chev@gmail.com>2023-09-02 14:34:46 +0200
committerptitSeb <seebastien.chev@gmail.com>2023-09-02 14:34:46 +0200
commit57d497c801a35f346a8fa804586048400a55acda (patch)
tree0b1273942ba8f106cdcae2030afb85771c0931bd /src/elfs
parenteac105fe9e9e4b0d6280fa0cbccc8b3e0918433e (diff)
downloadbox64-57d497c801a35f346a8fa804586048400a55acda.tar.gz
box64-57d497c801a35f346a8fa804586048400a55acda.zip
[ANDROID] And yet another attempt to fix the build, patience limit almost reached
Diffstat (limited to 'src/elfs')
-rw-r--r--src/elfs/elfloader.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/elfs/elfloader.c b/src/elfs/elfloader.c
index 6b28ea10..eb571325 100644
--- a/src/elfs/elfloader.c
+++ b/src/elfs/elfloader.c
@@ -1060,6 +1060,10 @@ uintptr_t GetLastByte(elfheader_t* h)
     return (uintptr_t)h->memory/* + h->delta*/ + h->memsz;
 }
 
+#ifndef STB_GNU_UNIQUE
+#define STB_GNU_UNIQUE	10
+#endif
+
 void checkHookedSymbols(elfheader_t* h); // in mallochook.c
 void AddSymbols(lib_t *maplib, kh_mapsymbols_t* mapsymbols, kh_mapsymbols_t* weaksymbols, kh_mapsymbols_t* localsymbols, elfheader_t* h)
 {