ICU-2546 fix link error on OSX for TestMergeSortKeys
X-SVN-Rev: 11890
This commit is contained in:
parent
deb974ae5e
commit
0fb45deffb
@ -1494,6 +1494,13 @@ static int tMemCmp(const uint8_t *first, const uint8_t *second) {
|
||||
int32_t secondLen = uprv_strlen((const char *)second);
|
||||
return uprv_memcmp(first, second, uprv_min(firstLen, secondLen));
|
||||
}
|
||||
static const char * strengthsC[] = {
|
||||
"UCOL_PRIMARY",
|
||||
"UCOL_SECONDARY",
|
||||
"UCOL_TERTIARY",
|
||||
"UCOL_QUATERNARY",
|
||||
"UCOL_IDENTICAL"
|
||||
};
|
||||
|
||||
void TestMergeSortKeys(void) {
|
||||
UErrorCode status = U_ZERO_ERROR;
|
||||
|
@ -103,7 +103,6 @@
|
||||
* utility function, defined in cmsccoll.c
|
||||
*/
|
||||
void genericLocaleStarter(const char *locale, const char *s[], uint32_t size);
|
||||
const char * strengthsC[];
|
||||
|
||||
|
||||
#endif /* #if !UCONFIG_NO_COLLATION */
|
||||
|
@ -401,7 +401,8 @@ UColAttributeValue strengths[] = {
|
||||
UCOL_IDENTICAL
|
||||
};
|
||||
|
||||
const char * strengthsC[] = {
|
||||
#if 0
|
||||
static const char * strengthsC[] = {
|
||||
"UCOL_PRIMARY",
|
||||
"UCOL_SECONDARY",
|
||||
"UCOL_TERTIARY",
|
||||
@ -409,7 +410,6 @@ const char * strengthsC[] = {
|
||||
"UCOL_IDENTICAL"
|
||||
};
|
||||
|
||||
#if 0
|
||||
static const char * caseFirstC[] = {
|
||||
"UCOL_OFF",
|
||||
"UCOL_LOWER_FIRST",
|
||||
|
Loading…
Reference in New Issue
Block a user