about summary refs log tree commit diff
path: root/nptl/pthread_attr_getaffinity.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/pthread_attr_getaffinity.c')
-rw-r--r--nptl/pthread_attr_getaffinity.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/nptl/pthread_attr_getaffinity.c b/nptl/pthread_attr_getaffinity.c
index 68403ebc25..0b1ca4cef3 100644
--- a/nptl/pthread_attr_getaffinity.c
+++ b/nptl/pthread_attr_getaffinity.c
@@ -57,10 +57,14 @@ __pthread_attr_getaffinity_new (const pthread_attr_t *attr, size_t cpusetsize,
   return 0;
 }
 versioned_symbol (libpthread, __pthread_attr_getaffinity_new,
-		  pthread_attr_getaffinity_np, GLIBC_2_3_4);
+		  pthread_attr_getaffinity_np, GLIBC_2_34);
+#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_3_4, GLIBC_2_34)
+compat_symbol (libpthread, __pthread_attr_getaffinity_new,
+	       pthread_attr_getaffinity_np, GLIBC_2_3_4);
+#endif
 
 
-#if SHLIB_COMPAT (libpthread, GLIBC_2_3_3, GLIBC_2_3_4)
+#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_3_3, GLIBC_2_3_4)
 int
 __pthread_attr_getaffinity_old (const pthread_attr_t *attr, cpu_set_t *cpuset)
 {