mirror of
https://github.com/openharmony/third_party_libsoup.git
synced 2026-07-19 21:43:31 -04:00
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:
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user