浏览代码

SDL_malloc: disable malloc stats

This avoids bringing in stdio.
Anonymous Maarten 8 月之前
父节点
当前提交
578ac0ef52
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/stdlib/SDL_malloc.c

+ 1 - 0
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