Merge pull request #922 from amirgon/undef_free

Workaround for stray 'free' macro
This commit is contained in:
embeddedt
2019-03-02 17:37:29 -05:00
committed by GitHub

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
**********************/