Add SkyOS syslog fix to this branch so merge doesn't clobber it
This commit is contained in:
parent
0256caa576
commit
943d17ceb8
|
@ -97,9 +97,11 @@ void cSyslog::Log(const TCHAR* programName, cSyslog::LogType logType, const TCHA
|
||||||
const char* msg = message;
|
const char* msg = message;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef SKYOS // Handle an oddball OS that has syslog.h but doesn't implement the calls.
|
||||||
openlog(ident, LOG_PID, LOG_USER);
|
openlog(ident, LOG_PID, LOG_USER);
|
||||||
syslog(LOG_NOTICE, "%s", msg);
|
syslog(LOG_NOTICE, "%s", msg);
|
||||||
closelog();
|
closelog();
|
||||||
|
#endif
|
||||||
|
|
||||||
#elif SUPPORTS_EVENTLOG
|
#elif SUPPORTS_EVENTLOG
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue