Skip to content

Commit b2ec816

Browse files
zcbenzaduh95
authored andcommitted
deps: macro ENODATA is deprecated in libc++
PR-URL: #56698 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 09fb3ad commit b2ec816

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

deps/uv/unofficial.gni

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77
template("uv_gn_build") {
88
config("uv_external_config") {
99
include_dirs = [ "include" ]
10+
if (is_clang || !is_win) {
11+
cflags_cc = [
12+
"-Wno-deprecated-pragma", # for using ENODATA in errno.h
13+
]
14+
}
1015
}
1116

1217
config("uv_internal_config") {

0 commit comments

Comments
 (0)