Переглянути джерело

add aliases for strcoll when needed

Mike Frysinger 19 роки тому
батько
коміт
71f7aa1311
1 змінених файлів з 5 додано та 0 видалено
  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