代码拉取完成,页面将自动刷新
From 3de1281757ea238ba2504411f0fb5cb3d50a1557 Mon Sep 17 00:00:00 2001
From: Sergey Avseyev <[email protected]>
Date: Fri, 13 Jul 2018 18:28:24 +0300
Subject: [PATCH] CCBC-954: define EFTYPE error code if it does not exist
libuv have defined new error code, which is not portable, so we have to add it to our list of exceptions
plugins/io/libuv/libuv_compat.h: In function 'uv_uv2syserr':
plugins/io/libuv/libuv_compat.h:200:7: error: 'EFTYPE' undeclared (first use in this function); did you mean 'UV_EFTYPE'?
UV_ERRNO_MAP(X)
^~~~~~~~~~~~
plugins/io/libuv/libuv_compat.h:199:63: note: in definition of macro 'X'
#define X(name, desc) if (status == UV_##name) { return name; }
^~~~
plugins/io/libuv/libuv_compat.h:200:7: note: each undeclared identifier is reported only once for each function it appears in
UV_ERRNO_MAP(X)
^~~~~~~~~~~~
plugins/io/libuv/libuv_compat.h:199:63: note: in definition of macro 'X'
#define X(name, desc) if (status == UV_##name) { return name; }
Related libuv change: https://github.com/libuv/libuv/commit/fe3fbd63e5dfe26c473cdd422ad216a14ae2d7e4
Change-Id: If1603dc4b7dbf65ec64fc7a5af50c3a9081166e0
---
plugins/io/libuv/libuv_compat.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/plugins/io/libuv/libuv_compat.h b/plugins/io/libuv/libuv_compat.h
index a818a21e..5d318171 100644
--- a/plugins/io/libuv/libuv_compat.h
+++ b/plugins/io/libuv/libuv_compat.h
@@ -111,6 +111,9 @@
#ifndef EAI_OVERFLOW
#define EAI_OVERFLOW EAI_FAIL
#endif
+#ifndef EFTYPE
+#define EFTYPE EAI_FAIL
+#endif
#define OK 0
--
2.18.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。