summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/icu-src/source/test/letest/letsutil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/icu/icu-src/source/test/letest/letsutil.cpp')
-rw-r--r--Build/source/libs/icu/icu-src/source/test/letest/letsutil.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-src/source/test/letest/letsutil.cpp b/Build/source/libs/icu/icu-src/source/test/letest/letsutil.cpp
index 0c6422810fd..323defc0188 100644
--- a/Build/source/libs/icu/icu-src/source/test/letest/letsutil.cpp
+++ b/Build/source/libs/icu/icu-src/source/test/letest/letsutil.cpp
@@ -1,3 +1,5 @@
+// Copyright (C) 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
*
@@ -110,8 +112,17 @@ le_int32 getLanguageCode(const char *lang)
return i;
}
}
+#else
+ if (!strcmp(lang, "JAN")) return janLanguageCode;
+ if (!strcmp(lang, "KOR")) return korLanguageCode;
+ if (!strcmp(lang, "ZHT")) return zhtLanguageCode;
+ if (!strcmp(lang, "ZHS")) return zhsLanguageCode;
+ if (!strcmp(lang, "HIN")) return hinLanguageCode;
+ if (!strcmp(lang, "MAR")) return marLanguageCode;
+ if (!strcmp(lang, "ROM")) return romLanguageCode;
#endif
+
return -1;
}