diff options
| author | Eli Zaretskii | 2020-01-08 22:00:36 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2020-01-08 22:00:36 +0200 |
| commit | 1fe596d89f9398f887bde7174bede39270065f9e (patch) | |
| tree | d7441c2f3f297047e83951a4dd8bf9f28be8ad8b /src | |
| parent | 50dc61509512a3caaa0a7a110af8578f8e360f37 (diff) | |
| download | emacs-1fe596d89f9398f887bde7174bede39270065f9e.tar.gz emacs-1fe596d89f9398f887bde7174bede39270065f9e.zip | |
Fix another compilation problem in a build without threads
* src/systhread.c (sys_thread_set_name) [!THREADS_ENABLED]: Add
a trivial implementation.
Diffstat (limited to 'src')
| -rw-r--r-- | src/systhread.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) | |||
| 81 | { | 81 | { |
| 82 | return t == u; | 82 | return t == u; |
| 83 | } | 83 | } |
| 84 | void | ||
| 85 | sys_thread_set_name (const char *name) | ||
| 86 | { | ||
| 87 | } | ||
| 84 | 88 | ||
| 85 | bool | 89 | bool |
| 86 | sys_thread_create (sys_thread_t *t, thread_creation_function *func, void *datum) | 90 | sys_thread_create (sys_thread_t *t, thread_creation_function *func, void *datum) |