diff options
| author | ptitSeb <seebastien.chev@gmail.com> | 2023-09-02 14:23:22 +0200 |
|---|---|---|
| committer | ptitSeb <seebastien.chev@gmail.com> | 2023-09-02 14:23:22 +0200 |
| commit | eac105fe9e9e4b0d6280fa0cbccc8b3e0918433e (patch) | |
| tree | d86319125e5ea228ff287e8eff3cd524f22712e2 /src | |
| parent | 61c2a3ed7ac1cadc7a44066b8ba297af664ad7bb (diff) | |
| download | box64-eac105fe9e9e4b0d6280fa0cbccc8b3e0918433e.tar.gz box64-eac105fe9e9e4b0d6280fa0cbccc8b3e0918433e.zip | |
[ANDROID] And another attempt to fix the build, testing my patience it seems
Diffstat (limited to 'src')
| -rw-r--r-- | src/mallochook.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mallochook.c b/src/mallochook.c index f3dbe0ca..1559c4be 100644 --- a/src/mallochook.c +++ b/src/mallochook.c @@ -305,7 +305,11 @@ EXPORT void cfree(void* p) box_free(p); } +#ifdef ANDROID +EXPORT size_t malloc_usable_size(const void* p) +#else EXPORT size_t malloc_usable_size(void* p) +#endif { if(malloc_hack_2 && real_malloc_usable_size) { if(getMmapped((uintptr_t)p)) |