* lib/pthread.in.h (pthread_exit): Don't use _Noreturn in the
_GL_CXXALIAS_RPL invocation.
+2019-12-11 Bruno Haible <bruno@clisp.org>
+
+ pthread-thread: Fix compilation error in C++ mode on MSVC.
+ * lib/pthread.in.h (pthread_exit): Don't use _Noreturn in the
+ _GL_CXXALIAS_RPL invocation.
+
2019-12-08 Bruno Haible <bruno@clisp.org>
Fix compilation errors in C++ mode on Haiku.
# define pthread_exit rpl_pthread_exit
# endif
_GL_FUNCDECL_RPL (pthread_exit, _Noreturn void, (void *value));
-_GL_CXXALIAS_RPL (pthread_exit, _Noreturn void, (void *value));
+_GL_CXXALIAS_RPL (pthread_exit, void, (void *value));
# else
# if !@HAVE_PTHREAD_EXIT@
_GL_FUNCDECL_SYS (pthread_exit, _Noreturn void, (void *value));