ICU-2546 fix link error on OSX for TestMergeSortKeys

X-SVN-Rev: 11890
This commit is contained in:
Vladimir Weinstein 2003-05-12 16:45:40 +00:00
parent deb974ae5e
commit 0fb45deffb
3 changed files with 9 additions and 3 deletions

View File

@ -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;

View File

@ -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 */

View File

@ -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",