]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/threadpsx.cpp
Added support for delayed deactivation of windows (for MDI)
[wxWidgets.git] / src / unix / threadpsx.cpp
index 113c85a3b214e2d26e794f6e602ad9662b23c12b..597f87eb8dab0f164b498bad88bf414aeabe6da1 100644 (file)
@@ -166,6 +166,12 @@ private:
     friend class wxConditionInternal;
 };
 
+#ifdef HAVE_PTHREAD_MUTEXATTR_T
+// on some systems pthread_mutexattr_settype() is not in the headers (but it is
+// in the library, otherwise we wouldn't compile this code at all)
+extern "C" int pthread_mutexattr_settype(pthread_mutexattr_t *, int);
+#endif
+
 wxMutexInternal::wxMutexInternal(wxMutexType mutexType)
 {
     int err;