libgettext Signed-off-by: huang-xl<huangxiaolong1@huawei.com>

Signed-off-by: huang-xl <huangxiaolong1@huawei.com>
Change-Id: I5f5110d0134a076e4a3d526d0dd5c73d1606fa0a
This commit is contained in:
huang-xl
2022-08-31 17:17:28 +08:00
parent c71a78f9de
commit 70faecbb6f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ ohos_source_set("soup_dynamic") {
ohos_shared_library("libohossoup") {
deps = [
":soup_dynamic",
"//third_party/gettext:libintl",
"//third_party/gettext:libgettext",
"//third_party/glib:gio",
"//third_party/glib:glib",
"//third_party/glib:gobject",
+1 -1
View File
@@ -638,7 +638,7 @@ sniff_feed_or_html (SoupContentSniffer *sniffer, SoupBuffer *buffer)
goto text_html;
/* Skip a leading UTF-8 BOM */
// x86_64 -Wtautological-constant-out-of-range-compare
// ohos.opt.compat.2001 x86_64 -Wtautological-constant-out-of-range-compare
#ifdef OHOS_OPT_COMPAT
if (resource[0] == (char)0xEF && resource[1] == (char)0xBB && resource[2] == (char)0xBF)
pos = 3;