summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compat/win32/pthread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compat/win32/pthread.h b/compat/win32/pthread.h
index e74157cd4d..7eac560d85 100644
--- a/compat/win32/pthread.h
+++ b/compat/win32/pthread.h
@@ -101,9 +101,11 @@ static inline void *pthread_getspecific(pthread_key_t key)
return TlsGetValue(key);
}
+#ifndef __MINGW64_VERSION_MAJOR
static inline int pthread_sigmask(int how, const sigset_t *set, sigset_t *oset)
{
return 0;
}
+#endif
#endif /* PTHREAD_H */