From 578ac0ef5207ad928a2697b5a68f230e0253cb90 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Sat, 28 Dec 2024 13:57:20 +0100 Subject: [PATCH] SDL_malloc: disable malloc stats This avoids bringing in stdio. --- src/stdlib/SDL_malloc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stdlib/SDL_malloc.c b/src/stdlib/SDL_malloc.c index a4de7d24ac..8fe18b67b6 100644 --- a/src/stdlib/SDL_malloc.c +++ b/src/stdlib/SDL_malloc.c @@ -30,6 +30,7 @@ #define LACKS_STDLIB_H #define FORCEINLINE #define ABORT +#define NO_MALLOC_STATS 1 #define USE_LOCKS 1 #define USE_DL_PREFIX