Merge pull request #922 from amirgon/undef_free
Workaround for stray 'free' macro
This commit is contained in:
@@ -21,6 +21,14 @@
|
|||||||
* DEFINES
|
* 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
|
* TYPEDEFS
|
||||||
**********************/
|
**********************/
|
||||||
|
|||||||
Reference in New Issue
Block a user