summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-08 22:35:04 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-08 22:35:04 +0000
commit9e4ca377aec9e49d3c0291d5cf284a673279730c (patch)
tree5c8aae894be1c2002bb78b84203590642f7aa84b
parentdfa63a7f9b85b74e2726212d1451f68d88633a31 (diff)
locale.h can't be included
-rw-r--r--libc/string/arm/strcmp.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/string/arm/strcmp.S b/libc/string/arm/strcmp.S
index 2f45c2a58..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
+#ifndef __UCLIBC_HAS_LOCALE__
.global __strcoll ; .hidden __strcoll ; __strcoll = __strcmp
.global strcoll ; .set strcoll,__strcmp
#endif