Skip to content

Commit

Permalink
windows: workaround missing symbol for icudt76_dat.
Browse files Browse the repository at this point in the history
note: probably fix this at some point.

Signed-off-by: furby™ <[email protected]>
  • Loading branch information
furby-tm committed Nov 5, 2024
1 parent c891ed1 commit 07ddbe4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/icuuc/udata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ U_NAMESPACE_END
* our common data. *
* *
*----------------------------------------------------------------------*/
#if !defined(ICU_DATA_DIR_WINDOWS)
#if 0
// When using the Windows system data, we expect only a single data file.
extern "C" const DataHeader U_DATA_API U_ICUDATA_ENTRY_POINT;
#endif
Expand Down Expand Up @@ -692,7 +692,7 @@ openCommonData(const char *path, /* Path from OpenChoice? */
if(gCommonICUDataArray[commonDataIndex] != nullptr) {
return gCommonICUDataArray[commonDataIndex];
}
#if !defined(ICU_DATA_DIR_WINDOWS)
#if 0
// When using the Windows system data, we expect only a single data file.
int32_t i;
for(i = 0; i < commonDataIndex; ++i) {
Expand All @@ -717,7 +717,7 @@ openCommonData(const char *path, /* Path from OpenChoice? */
setCommonICUDataPointer(uprv_getICUData_conversion(), false, pErrorCode);
}
*/
#if !defined(ICU_DATA_DIR_WINDOWS)
#if 0
// When using the Windows system data, we expect only a single data file.
setCommonICUDataPointer(&U_ICUDATA_ENTRY_POINT, false, pErrorCode);
{
Expand Down

0 comments on commit 07ddbe4

Please sign in to comment.