>From ae3efebeb1369a08b69d72d62795b67df840a727 Mon Sep 17 00:00:00 2001 From: Bruno Haible
Date: Sun, 24 Nov 2019 20:10:02 +0100 Subject: [PATCH 2/5] windows-timedmutex: Fix errors in C++ mode on mingw. * lib/windows-timedmutex.h: Add closing brace. --- ChangeLog | 5 +++++ lib/windows-timedmutex.h | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index d70a898..6be838b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2019-11-24 Bruno Haible + windows-timedmutex: Fix errors in C++ mode on mingw. + * lib/windows-timedmutex.h: Add closing brace. + +2019-11-24 Bruno Haible + Fix errors in C++ mode on Cygwin. * lib/sys_wait.in.h (waitpid): Use _GL_CXXALIAS_SYS_CAST instead of _GL_CXXALIAS_SYS. diff --git a/lib/windows-timedmutex.h b/lib/windows-timedmutex.h index b952278..f10a774 100644 --- a/lib/windows-timedmutex.h +++ b/lib/windows-timedmutex.h @@ -49,4 +49,8 @@ extern int glwthread_timedmutex_timedlock (glwthread_timedmutex_t *mutex, extern int glwthread_timedmutex_unlock (glwthread_timedmutex_t *mutex); extern int glwthread_timedmutex_destroy (glwthread_timedmutex_t *mutex); +#ifdef __cplusplus +} +#endif + #endif /* _WINDOWS_TIMEDMUTEX_H */ -- 2.7.4