Skip to content

Commit 1fe596d

Browse files
committed
Fix another compilation problem in a build without threads
* src/systhread.c (sys_thread_set_name) [!THREADS_ENABLED]: Add a trivial implementation.
1 parent 50dc615 commit 1fe596d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/systhread.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ sys_thread_equal (sys_thread_t t, sys_thread_t u)
8181
{
8282
return t == u;
8383
}
84+
void
85+
sys_thread_set_name (const char *name)
86+
{
87+
}
8488

8589
bool
8690
sys_thread_create (sys_thread_t *t, thread_creation_function *func, void *datum)

0 commit comments

Comments
 (0)