summaryrefslogtreecommitdiff
path: root/thread.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1998-10-19 08:48:33 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1998-10-19 08:48:33 +0000
commit4a07db3e6be903a5c002af0bdc1fe318f4d66315 (patch)
tree225a9753832adecb447332899fda062e35838413 /thread.h
parent6f71a643a0006dd0b3fa05e7dee38659a8cc1041 (diff)
downloadperl-4a07db3e6be903a5c002af0bdc1fe318f4d66315.tar.gz
VM/ESA (and OS390) are in between of OLD_PTHREADS_API and
the 'new' one (just like DJGPP, it seems). p4raw-id: //depot/cfgperl@2019
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)