From 6acf53259e44a43d099ff9258d7e13a6b0c14fd6 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Sun, 13 Oct 2002 17:07:25 +0000 Subject: [PATCH] Put __pthread_getspecific_addr inside ifdefs. MERGE TO HEAD git-svn-id: svn://svn.valgrind.org/valgrind/branches/VALGRIND_1_0_BRANCH@1226 --- vg_libpthread.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vg_libpthread.c b/vg_libpthread.c index f16eacac47..e2f6f36cb5 100644 --- a/vg_libpthread.c +++ b/vg_libpthread.c @@ -1422,6 +1422,7 @@ void * __pthread_getspecific(pthread_key_t key) } +#ifdef GLIBC_2_3 static void ** __pthread_getspecific_addr(pthread_key_t key) { @@ -1434,7 +1435,7 @@ void ** __pthread_getspecific_addr(pthread_key_t key) specifics_ptr = get_or_allocate_specifics_ptr(pthread_self()); return &(specifics_ptr[key]); } - +#endif /* --------------------------------------------------- ONCEry -- 2.47.2