提交 cabae631 编写于 作者: A Andrea Bolognani 提交者: Roman Bogorodskiy

util: systemd: Define MSG_NOSIGNAL if needed

The symbol being missing has been reported as causing build
failures on OS X. If it's not already defined, define it to
zero so that it won't have any effect.
上级 e7093b39
...@@ -41,6 +41,10 @@ ...@@ -41,6 +41,10 @@
VIR_LOG_INIT("util.systemd"); VIR_LOG_INIT("util.systemd");
#ifndef MSG_NOSIGNAL
# define MSG_NOSIGNAL 0
#endif
static void virSystemdEscapeName(virBufferPtr buf, static void virSystemdEscapeName(virBufferPtr buf,
const char *name) const char *name)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册