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 Antoine du Hamel committed 2025-02-06 01:10:41 +01:00
1 parent d423638281
commit 74cccc824f
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") {