Преглед на файлове

locale.h can't be included

Peter S. Mazinger преди 20 години
родител
ревизия
9e4ca377ae
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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