summaryrefslogtreecommitdiff
path: root/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'thread.h')
-rw-r--r--thread.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/thread.h b/thread.h
index 50d9fc382b..f883ced905 100644
--- a/thread.h
+++ b/thread.h
@@ -3,7 +3,10 @@
#ifdef WIN32
# include <win32thread.h>
#else
-# if defined(OLD_PTHREADS_API) && !defined(DJGPP)
+/* XXX What we really need is Configure probing for all of these
+ * pthread thingies, old, medium, and new, not the blanket statement of
+ * OLD_PTHREADS_API. --jhi */
+# if defined(OLD_PTHREADS_API) && !defined(DJGPP) && !defined(__OPEN_VM) && !defined(OEMVS)
/* POSIXish threads */
# define pthread_mutexattr_init(a) pthread_mutexattr_create(a)
# define pthread_mutexattr_settype(a,t) pthread_mutexattr_setkind_np(a,t)