about summary refs log tree commit diff
path: root/sysdeps/s390/strchrnul-c.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/s390/strchrnul-c.c')
-rw-r--r--sysdeps/s390/strchrnul-c.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/s390/strchrnul-c.c b/sysdeps/s390/strchrnul-c.c
index f6f5bae311..97fbc16edb 100644
--- a/sysdeps/s390/strchrnul-c.c
+++ b/sysdeps/s390/strchrnul-c.c
@@ -24,7 +24,9 @@
 # endif
 
 # include <string/strchrnul.c>
-# if defined SHARED && IS_IN (libc)
+# if HAVE_STRCHRNUL_IFUNC
+#  if defined SHARED && IS_IN (libc)
 __hidden_ver1 (__strchrnul_c, __GI___strchrnul, __strchrnul_c);
+#  endif
 # endif
 #endif