diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-02-26 19:22:53 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-02-26 19:22:53 +0100 |
| commit | 13404ed090453ffa1a2b475b004b74db7086ff74 (patch) | |
| tree | 9d1fb5cbad4f90ce1dcd2df7f7220b6dea6d4755 /src/include/debug.h | |
| parent | ff6cc844821439a8f50b68b27e6f1ac5264579c8 (diff) | |
| download | box64-13404ed090453ffa1a2b475b004b74db7086ff74.tar.gz box64-13404ed090453ffa1a2b475b004b74db7086ff74.zip | |
Added ability to staticaly build box64 (for #1045 and #310, maybe a few others tickets)
Diffstat (limited to 'src/include/debug.h')
| -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 59568021..0f0526f7 100644 --- a/src/include/debug.h +++ b/src/include/debug.h @@ -127,8 +127,10 @@ void printf_ftrace(const char* fmt, ...); #define EXPORTDYN #endif +#ifndef STATICBUILD void init_malloc_hook(void); -#ifdef ANDROID +#endif +#if defined(ANDROID) || defined(STATICBUILD) #define box_malloc malloc #define box_realloc realloc #define box_calloc calloc |