summaryrefslogtreecommitdiff
path: root/thread.h
diff options
context:
space:
mode:
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