mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 13:07:03 +03:00
fix compile issue on latest esp-idf v4 - release
This commit is contained in:
3
components/tools/operator.cpp
Normal file
3
components/tools/operator.cpp
Normal file
@@ -0,0 +1,3 @@
|
||||
#include <stdlib.h> // for malloc and free
|
||||
void* operator new(unsigned int size) { return malloc(size); }
|
||||
void operator delete(void* ptr) { if (ptr) free(ptr); }
|
||||
Reference in New Issue
Block a user