Selaa lähdekoodia

locale.h can't be included

Peter S. Mazinger 20 vuotta sitten
vanhempi
commit
9e4ca377ae
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      libc/string/arm/strcmp.S

+ 2 - 2
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