Ver Fonte

add aliases for strcoll when needed

Mike Frysinger há 20 anos atrás
pai
commit
71f7aa1311
1 ficheiros alterados com 5 adições e 0 exclusões
  1. 5 0
      libc/string/sparc/strcmp.S

+ 5 - 0
libc/string/sparc/strcmp.S

@@ -11,3 +11,8 @@
 #else
 # include "sparc64/strcmp.S"
 #endif
+
+#ifndef __UCLIBC_HAS_LOCALE__
+hidden_strong_alias(__strcmp,__strcoll)
+strong_alias(__strcmp,strcoll)
+#endif