diff options
| author | ptitSeb <seebastien.chev@gmail.com> | 2023-09-30 20:33:31 +0200 |
|---|---|---|
| committer | ptitSeb <seebastien.chev@gmail.com> | 2023-09-30 20:33:31 +0200 |
| commit | eed9ea35f9987f3e28ec87845c064a84f728b56f (patch) | |
| tree | ca8a1eac5dbce6d0460c97b1c9a6e2073c1c7018 /src | |
| parent | a724725fdf31c6308934b57f8ce8b442d0b1f5d3 (diff) | |
| download | box64-eed9ea35f9987f3e28ec87845c064a84f728b56f.tar.gz box64-eed9ea35f9987f3e28ec87845c064a84f728b56f.zip | |
[ANDROID] Fix build
Diffstat (limited to 'src')
| -rw-r--r-- | src/include/debug.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/debug.h b/src/include/debug.h index 5ff9e194..fa387d42 100644 --- a/src/include/debug.h +++ b/src/include/debug.h @@ -119,6 +119,8 @@ void init_malloc_hook(void); #define box_calloc calloc #define box_free free #define box_memalign memalign +#define box_strdup strdup +#define box_realpath realpath #else extern size_t(*box_malloc_usable_size)(void*); extern void* __libc_malloc(size_t); @@ -131,8 +133,8 @@ extern void* __libc_memalign(size_t, size_t); #define box_calloc __libc_calloc #define box_free __libc_free #define box_memalign __libc_memalign -#endif extern char* box_strdup(const char* s); extern char* box_realpath(const char* path, char* ret); +#endif #endif //__DEBUG_H_ |