about summary refs log tree commit diff
path: root/sysdeps/s390/memrchr-c.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/s390/memrchr-c.c')
-rw-r--r--sysdeps/s390/memrchr-c.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/s390/memrchr-c.c b/sysdeps/s390/memrchr-c.c
index bdf3c7bbe0..fadd63087a 100644
--- a/sysdeps/s390/memrchr-c.c
+++ b/sysdeps/s390/memrchr-c.c
@@ -25,7 +25,9 @@
 
 # include <string/memrchr.c>
 
-# if defined SHARED && IS_IN (libc)
+# if HAVE_MEMRCHR_IFUNC
+#  if defined SHARED && IS_IN (libc)
 __hidden_ver1 (__memrchr_c, __GI___memrchr, __memrchr_c);
+#  endif
 # endif
 #endif