提交 51b66427 编写于 作者: R Richard Levitte

*mumble* unicos 10.0.0.3 with Cray Standard C Version 6.2.0.0 has a syslog.h

where the openlog() is declared like this:

  extern int openlog __((char *_Ident, int _Logopt, int _Facility));
上级 69764d72
......@@ -350,7 +350,7 @@ static void xcloselog(BIO* bp)
static void xopenlog(BIO* bp, const char* name, int level)
{
openlog(name, LOG_PID|LOG_CONS, level);
openlog((char *)name, LOG_PID|LOG_CONS, level);
}
static void xsyslog(BIO *bp, int priority, const char *string)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册