diff options
-rw-r--r-- | Build/source/libs/icu/icu-51.1-PATCHES/patch-04-Windows2000 | 4 | ||||
-rw-r--r-- | Build/source/libs/icu/icu-51.1/source/common/wintz.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/libs/icu/icu-51.1-PATCHES/patch-04-Windows2000 b/Build/source/libs/icu/icu-51.1-PATCHES/patch-04-Windows2000 index 9431330c92e..7120f41b1df 100644 --- a/Build/source/libs/icu/icu-51.1-PATCHES/patch-04-Windows2000 +++ b/Build/source/libs/icu/icu-51.1-PATCHES/patch-04-Windows2000 @@ -50,9 +50,9 @@ diff -ur -x config.guess -x config.sub -x install-sh icu-51.1.orig/source/common + } else { + pgetusergeoid = GetProcAddress (hi, "GetUserGeoID"); + pgetgeoinfo = GetProcAddress (hi, "GetGeoInfoA"); ++ if (!pgetusergeoid || !pgetgeoinfo) ++ NewerThanWindows2000 = 0; + } -+ if (!pgetusergeoid || !pgetgeoinfo) -+ NewerThanWindows2000 = 0; + if (NewerThanWindows2000 == 1) { + id = (int)pgetusergeoid (GEOCLASS_NATION); diff --git a/Build/source/libs/icu/icu-51.1/source/common/wintz.c b/Build/source/libs/icu/icu-51.1/source/common/wintz.c index 6c0435dd969..f659053389e 100644 --- a/Build/source/libs/icu/icu-51.1/source/common/wintz.c +++ b/Build/source/libs/icu/icu-51.1/source/common/wintz.c @@ -321,9 +321,9 @@ uprv_detectWindowsTimeZone() { } else { pgetusergeoid = GetProcAddress (hi, "GetUserGeoID"); pgetgeoinfo = GetProcAddress (hi, "GetGeoInfoA"); + if (!pgetusergeoid || !pgetgeoinfo) + NewerThanWindows2000 = 0; } - if (!pgetusergeoid || !pgetgeoinfo) - NewerThanWindows2000 = 0; if (NewerThanWindows2000 == 1) { id = (int)pgetusergeoid (GEOCLASS_NATION); |