This is an automated email from the ASF dual-hosted git repository.

kasjer pushed a commit to branch kasjer/removeme
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git

commit 809b4c0ce824c9d63a64238ec76570b3b9aded1b
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Fri Jul 3 08:22:23 2026 +0200

    test for apple
    
    Signed-off-by: Jerzy Kasenberg <[email protected]>
---
 sys/config/src/config.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sys/config/src/config.c b/sys/config/src/config.c
index 3e675b6b1..7e61b555c 100644
--- a/sys/config/src/config.c
+++ b/sys/config/src/config.c
@@ -33,6 +33,11 @@ struct conf_handler_head conf_handlers;
 
 static struct os_mutex conf_mtx;
 
+#if __APPLE__
+__attribute__((user, section("__TEXT,static_conf_handlers")))
+const LINK_TABLE_ELEMENT_TYPE(static_conf_handlers) 
static_conf_handlers_anchor[0];
+#endif
+
 #if MYNEWT_VAL(OS_SCHEDULING)
 static os_event_fn conf_ev_fn_load;
 

Reply via email to