summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Python/thread_pthread.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h
index 2f57b36..0d59ced 100644
--- a/Python/thread_pthread.h
+++ b/Python/thread_pthread.h
@@ -69,6 +69,12 @@ PERFORMANCE OF THIS SOFTWARE.
#elif defined(__DGUX)
# define PY_PTHREAD_D6
+#elif defined(__hpux)
+/* From what I can see, HP-UX 10.20 pthreads looks
+ * like D4 flavour.
+ */
+# define PY_PTHREAD_D4
+
#else /* Default case */
# define PY_PTHREAD_STD