diff options
Diffstat (limited to 'compat/win32')
-rw-r--r-- | compat/win32/pthread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/win32/pthread.h b/compat/win32/pthread.h index 8ad187344f..799ecf00bc 100644 --- a/compat/win32/pthread.h +++ b/compat/win32/pthread.h @@ -75,7 +75,7 @@ extern int win32_pthread_join(pthread_t *thread, void **value_ptr); #define pthread_equal(t1, t2) ((t1).tid == (t2).tid) extern pthread_t pthread_self(void); -static inline int pthread_exit(void *ret) +static inline void NORETURN pthread_exit(void *ret) { ExitThread((DWORD)ret); } |