svn commit: trunk/uClibc/libc/string/arm

psm at uclibc.org psm at uclibc.org
Thu Dec 8 22:35:06 UTC 2005


Author: psm
Date: 2005-12-08 14:35:04 -0800 (Thu, 08 Dec 2005)
New Revision: 12767

Log:
locale.h can't be included

Modified:
   trunk/uClibc/libc/string/arm/strcmp.S


Changeset:
Modified: trunk/uClibc/libc/string/arm/strcmp.S
===================================================================
--- trunk/uClibc/libc/string/arm/strcmp.S	2005-12-08 21:09:03 UTC (rev 12766)
+++ trunk/uClibc/libc/string/arm/strcmp.S	2005-12-08 22:35:04 UTC (rev 12767)
@@ -29,7 +29,7 @@
  * by Erik Andersen <andersen at codepoet.org>
  */
 
-#include <locale.h>
+#include <features.h>
 
 .global strcmp
 .set strcmp,__strcmp
@@ -50,7 +50,7 @@
 	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




More information about the uClibc-cvs mailing list