fix(lwip): Fix definition conflict

This commit is contained in:
Wu Jian Gang
2018-05-04 11:56:48 +08:00
parent 25c84c21c4
commit e9308e6266

View File

@ -46,6 +46,7 @@
#include "sdkconfig.h"
#include <stddef.h>
#include <stdbool.h>
#include "esp_libc.h"
//#define SOCKETS_MT
@ -193,7 +194,7 @@
/**
* Use DRAM instead of IRAM
*/
extern void *pvPortMalloc( size_t xWantedSize, const char * file, unsigned line, unsigned char use_iram);
extern void *pvPortMalloc( size_t xWantedSize, const char * file, unsigned line, bool use_iram);
extern void *pvPortZalloc( size_t xWantedSize, const char * file, unsigned line);
extern void *pvPortCalloc(size_t count, size_t size, const char * file, unsigned line);
extern void vPortFree(void *pv, const char * file, unsigned line);