From 6cfe8af5837ee4b149d08cdc2afce032abee3494 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Tue, 22 Apr 2003 13:09:21 +0000 Subject: z/OS: changes for building threaded from "Brian De Pradine" . p4raw-id: //depot/perl@19306 --- thread.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'thread.h') 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 -- cgit v1.2.1