summaryrefslogtreecommitdiff
path: root/thread.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-04-22 13:09:21 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-04-22 13:09:21 +0000
commit6cfe8af5837ee4b149d08cdc2afce032abee3494 (patch)
tree96c669c208f8fdc03db28a8f45d79db55056c299 /thread.h
parent11f62a1cbe1259089dfe510dfc5a027a0ad1cbac (diff)
downloadperl-6cfe8af5837ee4b149d08cdc2afce032abee3494.tar.gz
z/OS: changes for building threaded from "Brian De Pradine"
<PRADINE@uk.ibm.com>. p4raw-id: //depot/perl@19306
Diffstat (limited to 'thread.h')
-rw-r--r--thread.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/thread.h b/thread.h
index bd4b91052d..3f7b2df540 100644
--- a/thread.h
+++ b/thread.h
@@ -273,7 +273,11 @@
#ifdef HAS_PTHREAD_UNCHECKED_GETSPECIFIC_NP
# define PTHREAD_GETSPECIFIC(key) pthread_unchecked_getspecific_np(key)
#else
-# define PTHREAD_GETSPECIFIC(key) pthread_getspecific(key)
+# ifdef OEMVS
+# define PTHREAD_GETSPECIFIC(key) pthread_getspecific_d8_np(key)
+# else
+# define PTHREAD_GETSPECIFIC(key) pthread_getspecific(key)
+# endif
#endif
#ifndef PERL_GET_CONTEXT