1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

Workaround for stray 'free' macro

Related to littlevgl/lv_binding_micropython#11 'Build error for STM32 port due to 'free()' macro'
This commit is contained in:
Amir Gonnen 2019-03-03 00:11:36 +02:00
parent 00ef778c7c
commit 6f53e4616a

View File

@ -21,6 +21,14 @@
* DEFINES
*********************/
/* "free" is used as a function pointer (in lv_fs_drv_t).
* We must make sure "free" was not defined to a platform specific
* free function, otherwise compilation would fail.
*/
#ifdef free
#undef free
#endif
/**********************
* TYPEDEFS
**********************/