소스 검색

add aliases for strcoll when needed

Mike Frysinger 20 년 전
부모
커밋
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