ICU-6557 fix linkage issue.

X-SVN-Rev: 24695
This commit is contained in:
Steven R. Loomis 2008-10-01 19:23:06 +00:00
parent f92998e519
commit 6c1e80795b

View File

@ -62,7 +62,9 @@ struct UResourceBundleAIterator {
int32_t cursor;
};
static int32_t U_CALLCONV
/* Must be C linkage to pass function pointer to the sort function */
extern "C" static int32_t U_CALLCONV
ures_a_codepointSort(const void *context, const void *left, const void *right) {
//CompareContext *cmp=(CompareContext *)context;
return u_strcmp(((const UResAEntry *)left)->key,