fix(cpn): windows build failing because sbrk does not exist on mingw (#5135)
This commit is contained in:
+2
-2
@@ -61,8 +61,8 @@
|
||||
#if LV_MEM_ADR == 0
|
||||
//#define LV_MEM_POOL_INCLUDE your_alloc_library /* Uncomment if using an external allocator*/
|
||||
//#define LV_MEM_POOL_ALLOC your_alloc /* Uncomment if using an external allocator*/
|
||||
#define LV_MEM_POOL_INCLUDE <unistd.h>
|
||||
#define LV_MEM_POOL_ALLOC sbrk
|
||||
#define LV_MEM_POOL_INCLUDE <stdlib.h>
|
||||
#define LV_MEM_POOL_ALLOC malloc
|
||||
#endif
|
||||
|
||||
#else /*LV_MEM_CUSTOM*/
|
||||
|
||||
Reference in New Issue
Block a user