summary refs log tree commit diff
path: root/sysdeps/x86/tst-strncmp-rtm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86/tst-strncmp-rtm.c')
-rw-r--r--sysdeps/x86/tst-strncmp-rtm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/x86/tst-strncmp-rtm.c b/sysdeps/x86/tst-strncmp-rtm.c
index a3b14e72ff..2d27b20a68 100644
--- a/sysdeps/x86/tst-strncmp-rtm.c
+++ b/sysdeps/x86/tst-strncmp-rtm.c
@@ -27,8 +27,10 @@
 #else /* !WIDE */
 # define CHAR char
 # define MEMSET memset
-# define STRNCMP strncmp
-# define TEST_NAME "strncmp"
+# ifndef STRNCMP
+#  define STRNCMP strncmp
+#  define TEST_NAME "strncmp"
+# endif
 #endif /* !WIDE */