mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 12:08:16 +08:00
improve mem_allocator_std
This commit is contained in:
parent
f5a3897dd0
commit
e428a631e8
@ -24,6 +24,7 @@
|
||||
|
||||
#include "tkc/mem_allocator.h"
|
||||
|
||||
#ifdef WITH_SDL
|
||||
#ifdef MACOS
|
||||
#include <malloc/malloc.h>
|
||||
#define msize(ptr) malloc_size(ptr)
|
||||
@ -35,6 +36,9 @@
|
||||
#elif !defined(msize)
|
||||
#define msize(ptr) 0
|
||||
#endif
|
||||
#else
|
||||
#define msize(ptr) 0
|
||||
#endif
|
||||
|
||||
BEGIN_C_DECLS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user