deps: macro ENODATA is deprecated in libc++

PR-URL: https://github.com/nodejs/node/pull/56698
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Cheng authored and Marco Ippolito committed 2025-03-06 13:38:18 +01:00
1 parent 53e4dc2a82
commit d4ca38fe8e
1 file changed
+5
+5
View File
@@ -7,6 +7,11 @@
template("uv_gn_build") {
config("uv_external_config") {
include_dirs = [ "include" ]
if (is_clang || !is_win) {
cflags_cc = [
"-Wno-deprecated-pragma", # for using ENODATA in errno.h
]
}
}
config("uv_internal_config") {