Browse Source

SDL_malloc: disable malloc stats

This avoids bringing in stdio.
Anonymous Maarten 8 tháng trước cách đây
mục cha
commit
578ac0ef52
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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