From 943d17ceb8a85b249027231d22a47a0d729654d3 Mon Sep 17 00:00:00 2001 From: Brian Cox Date: Sun, 3 Apr 2016 20:54:44 -0700 Subject: [PATCH] Add SkyOS syslog fix to this branch so merge doesn't clobber it --- src/tripwire/syslog_trip.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tripwire/syslog_trip.cpp b/src/tripwire/syslog_trip.cpp index 44fc0fb..c70681d 100644 --- a/src/tripwire/syslog_trip.cpp +++ b/src/tripwire/syslog_trip.cpp @@ -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