Parcourir la source

add aliases for strcoll when needed

Mike Frysinger il y a 19 ans
Parent
commit
71f7aa1311
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  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