Skip to content

Commit

Permalink
Remove syslog from windows
Browse files Browse the repository at this point in the history
  • Loading branch information
alesapin committed Oct 2, 2024
1 parent ea47085 commit e1ac532
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contrib/poco/Foundation/include/Poco/SyslogChannel.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#ifndef Foundation_SyslogChannel_INCLUDED
#define Foundation_SyslogChannel_INCLUDED

#if !defined(POCO_OS_FAMILY_WINDOWS)

#include "Poco/Foundation.h"
#include "Poco/Channel.h"
Expand Down Expand Up @@ -107,3 +108,5 @@ class Foundation_API SyslogChannel: public Channel


#endif // Foundation_SyslogChannel_INCLUDED

#endif
4 changes: 4 additions & 0 deletions contrib/poco/Foundation/src/SyslogChannel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
//


#if !defined(POCO_OS_FAMILY_WINDOWS)

#include "Poco/SyslogChannel.h"
#include "Poco/Message.h"
#include "Poco/StringTokenizer.h"
Expand Down Expand Up @@ -254,3 +256,5 @@ int SyslogChannel::getPrio(const Message& msg)


} // namespace Poco

#endif

0 comments on commit e1ac532

Please sign in to comment.