Explorar o código

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.

Chris Zankel %!s(int64=15) %!d(string=hai) anos
pai
achega
c0a0655a5a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      libc/string/xtensa/strcmp.S

+ 1 - 0
libc/string/xtensa/strcmp.S

@@ -19,6 +19,7 @@
 
 #include "../../sysdeps/linux/xtensa/sysdep.h"
 #include <bits/xtensa-config.h>
+#include <features.h>
 
 #ifdef __XTENSA_EB__
 #define	MASK0 0xff000000