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 e74157cd4d04d304b96fe88a70804b240f798b1c..7eac560d85a2a10f63673e763fa47203af216f4b 100644
(file)
--- 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 */