| Index: source/common/udata.cpp
|
| diff --git a/source/common/udata.cpp b/source/common/udata.cpp
|
| index ec72a0ce2c772a5b03cc949e2b33fd6e6ea025cb..94607468f4582c83d795b78214bded50142c6cc2 100644
|
| --- a/source/common/udata.cpp
|
| +++ b/source/common/udata.cpp
|
| @@ -624,7 +624,7 @@ U_NAMESPACE_END
|
| * our common data. *
|
| * *
|
| *----------------------------------------------------------------------*/
|
| -extern "C" const DataHeader U_DATA_API U_ICUDATA_ENTRY_POINT;
|
| +extern "C" const ICU_Data_Header U_DATA_API U_ICUDATA_ENTRY_POINT;
|
|
|
| /*
|
| * This would be a good place for weak-linkage declarations of
|
| @@ -674,7 +674,7 @@ openCommonData(const char *path, /* Path from OpenChoice? */
|
| }
|
| int32_t i;
|
| for(i = 0; i < commonDataIndex; ++i) {
|
| - if(gCommonICUDataArray[i]->pHeader == &U_ICUDATA_ENTRY_POINT) {
|
| + if(gCommonICUDataArray[i]->pHeader == &U_ICUDATA_ENTRY_POINT.hdr) {
|
| /* The linked-in data is already in the list. */
|
| return NULL;
|
| }
|
| @@ -694,7 +694,7 @@ openCommonData(const char *path, /* Path from OpenChoice? */
|
| setCommonICUDataPointer(uprv_getICUData_conversion(), FALSE, pErrorCode);
|
| }
|
| */
|
| - setCommonICUDataPointer(&U_ICUDATA_ENTRY_POINT, FALSE, pErrorCode);
|
| + setCommonICUDataPointer(&U_ICUDATA_ENTRY_POINT.hdr, FALSE, pErrorCode);
|
| {
|
| Mutex lock;
|
| return gCommonICUDataArray[commonDataIndex];
|
|
|