summaryrefslogtreecommitdiffstats
path: root/libc/string/arm/strcmp.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/arm/strcmp.S')
-rw-r--r--libc/string/arm/strcmp.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/string/arm/strcmp.S b/libc/string/arm/strcmp.S
index 4e2e3f5b5..33acc14cf 100644
--- a/libc/string/arm/strcmp.S
+++ b/libc/string/arm/strcmp.S
@@ -29,7 +29,7 @@
* by Erik Andersen <andersen@codepoet.org>
*/
-#include <locale.h>
+#include <features.h>
.global strcmp
.set strcmp,__strcmp
@@ -50,7 +50,7 @@ __strcmp:
mov pc, lr
.size __strcmp,.-__strcmp
-#ifdef __LOCALE_C_ONLY
-.weak __strcoll ; __strcoll = __strcmp
-.global strcoll ; .set strcoll,__strcoll
+#ifndef __UCLIBC_HAS_LOCALE__
+.global __strcoll ; .hidden __strcoll ; __strcoll = __strcmp
+.global strcoll ; .set strcoll,__strcmp
#endif