Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Windows: only add a no-op pthread_sigmask() when needed
[gitweb.git]
/
compat
/
win32
/
pthread.h
diff --git
a/compat/win32/pthread.h
b/compat/win32/pthread.h
index 8ad187344fd93e894a2f1cbfaa0fb59fd832de5b..7eac560d85a2a10f63673e763fa47203af216f4b 100644
(file)
--- a/
compat/win32/pthread.h
+++ b/
compat/win32/pthread.h
@@
-101,4
+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 */