mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-22 21:23:07 +03:00
restore zalloc() (lost with OOM debug commit, used by lwip/lwip2)
This commit is contained in:
parent
12f336fa5f
commit
23a7bc2939
@ -43,7 +43,8 @@ bool ICACHE_FLASH_ATTR check_memleak_debug_enable(void)
|
|||||||
#define os_malloc malloc
|
#define os_malloc malloc
|
||||||
#define os_calloc calloc
|
#define os_calloc calloc
|
||||||
#define os_realloc realloc
|
#define os_realloc realloc
|
||||||
#define os_zalloc zalloc
|
#define os_zalloc(s) calloc(1,s)
|
||||||
|
#define zalloc(s) calloc(1,s)
|
||||||
|
|
||||||
#ifndef MEMLEAK_DEBUG
|
#ifndef MEMLEAK_DEBUG
|
||||||
#define MEMLEAK_DEBUG_ENABLE 0
|
#define MEMLEAK_DEBUG_ENABLE 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user