From f8d542c5e2dbda19e660a6bc39942cf198e10e7a Mon Sep 17 00:00:00 2001 From: philmoz Date: Fri, 7 Jun 2024 13:44:56 +1000 Subject: [PATCH] fix(cpn): windows build failing because sbrk does not exist on mingw (#5135) --- radio/src/lv_conf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radio/src/lv_conf.h b/radio/src/lv_conf.h index 9a1699c12..f86e2a43d 100644 --- a/radio/src/lv_conf.h +++ b/radio/src/lv_conf.h @@ -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 - #define LV_MEM_POOL_ALLOC sbrk + #define LV_MEM_POOL_INCLUDE + #define LV_MEM_POOL_ALLOC malloc #endif #else /*LV_MEM_CUSTOM*/