Patch #618347: Work around Solaris 2.6 pthread.h bug. Will backport to 2.2.
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 3622be8..f5cc30e 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -304,6 +304,9 @@
 /* Define if you have GNU PTH threads. */
 #undef HAVE_PTH
 
+/* Defined for Solaris 2.6 bug in pthread header. */
+#undef HAVE_PTHREAD_DESTRUCTOR
+
 /* Define to 1 if you have the <pthread.h> header file. */
 #undef HAVE_PTHREAD_H