From 1fe596d89f9398f887bde7174bede39270065f9e Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 8 Jan 2020 22:00:36 +0200 Subject: [PATCH] Fix another compilation problem in a build without threads * src/systhread.c (sys_thread_set_name) [!THREADS_ENABLED]: Add a trivial implementation. --- src/systhread.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/systhread.c b/src/systhread.c index 5bd629946f9..c649ae853a3 100644 --- a/src/systhread.c +++ b/src/systhread.c @@ -81,6 +81,10 @@ sys_thread_equal (sys_thread_t t, sys_thread_t u) { return t == u; } +void +sys_thread_set_name (const char *name) +{ +} bool sys_thread_create (sys_thread_t *t, thread_creation_function *func, void *datum) -- 2.39.2