Browse Source

add aliases for strcoll when needed

Mike Frysinger 20 năm trước cách đây
mục cha
commit
71f7aa1311
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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