diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-05-17 14:21:08 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-05-17 14:21:08 +0000 |
commit | 8b8b35abf0ac836d99804d38380d3c236b12c28e (patch) | |
tree | 8398b401d276da300af959ff89349ada6056181d /util.c | |
parent | 0953243c2ac89e79fe3d39c48a15619486aafea4 (diff) | |
download | perl-8b8b35abf0ac836d99804d38380d3c236b12c28e.tar.gz |
Macrofy the getspecific (and use it also in util.c)
p4raw-id: //depot/perl@10143
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -3490,14 +3490,10 @@ Perl_get_context(void) return (void*)t; # else # ifdef I_MACH_CTHREADS - return (void*)cthread_data(cthread_self()); + return (void*)cthread_data(cthread_self()); # else -# if defined(__ALPHA) && (__VMS_VER >= 70000000) - return (void*)pthread_unchecked_getspecific_np(PL_thr_key); -# else - return (void*)pthread_getspecific(PL_thr_key); -# endif -# endif + return (void*)PTHREAD_GETSPECIFIC(PL_thr_key); +# endif # endif #else return (void*)NULL; |