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;
|
||||
#endif
|
||||
|
||||
#ifndef SKYOS // Handle an oddball OS that has syslog.h but doesn't implement the calls.
|
||||
openlog(ident, LOG_PID, LOG_USER);
|
||||
syslog(LOG_NOTICE, "%s", msg);
|
||||
closelog();
|
||||
#endif
|
||||
|
||||
#elif SUPPORTS_EVENTLOG
|
||||
|
||||
|
|
Loading…
Reference in New Issue