freebsd-ports/science/cdo/files/patch-src-pthread_debug.c
Li-Wen Hsu 0287c47729 - Update to 1.0.8
PR:		ports/114104
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet AT sunpoet.net> (maintainer)
2007-06-29 01:03:28 +00:00

18 lines
407 B
C

--- src/pthread_debug.c.orig Mon May 14 14:30:15 2007
+++ src/pthread_debug.c Fri Jun 29 00:24:12 2007
@@ -77,6 +77,7 @@
}
+#if defined (PTHREAD_MUTEXATTR_CONDATTR)
void print_pthread_mutexattr(const char *caller, pthread_mutexattr_t *m_attr)
{
#if defined (_POSIX_THREAD_PRIO_PROTECT) && defined (_POSIX_THREAD_PRIO_INHERIT)
@@ -115,6 +116,7 @@
}
#endif
}
+#endif
int PTHREAD_Debug = 0;