ui/server/toolkit.c

changeset 1148
6ebe1b98f53b
parent 1146
35e098a663a7
--- a/ui/server/toolkit.c	Thu May 28 21:17:26 2026 +0200
+++ b/ui/server/toolkit.c	Thu May 28 21:18:33 2026 +0200
@@ -52,6 +52,9 @@
 static CxMap *srv_obj_map;
 static uint64_t srv_obj_id_counter = 0;
 
+// NOOP on most platforms, expect macos
+void ui_set_main_thread_error_msg(const char *msg) {}
+
 void ui_init(const char *appname, int argc, char **argv) {
     ui_app_name = appname ? strdup(appname) : NULL;
     

mercurial