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

czankel at uclibc.org czankel at uclibc.org
Sat Sep 13 19:54:57 UTC 2008


Author: czankel
Date: 2008-09-13 12:54:56 -0700 (Sat, 13 Sep 2008)
New Revision: 23391

Log:
xtensa: The Xtensa-specific strcmp.S file is testing the __UCLIBC_HAS_LOCALE__ macro but it does not include <features.h>, so that macro is never defined.  This causes problems with strcoll when locale support is enabled.



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


Changeset:
Modified: trunk/uClibc/libc/string/xtensa/strcmp.S
===================================================================
--- trunk/uClibc/libc/string/xtensa/strcmp.S	2008-09-13 18:27:32 UTC (rev 23390)
+++ trunk/uClibc/libc/string/xtensa/strcmp.S	2008-09-13 19:54:56 UTC (rev 23391)
@@ -19,6 +19,7 @@
 
 #include "../../sysdeps/linux/xtensa/sysdep.h"
 #include <bits/xtensa-config.h>
+#include <features.h>
 
 #ifdef __XTENSA_EB__
 #define	MASK0 0xff000000




More information about the uClibc-cvs mailing list