diff options
Diffstat (limited to 'zenserver')
| -rw-r--r-- | zenserver/projectstore.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/zenserver/projectstore.cpp b/zenserver/projectstore.cpp index ba51a0dd2..899080696 100644 --- a/zenserver/projectstore.cpp +++ b/zenserver/projectstore.cpp @@ -1685,6 +1685,7 @@ HttpProjectService::HandleRequest(HttpServerRequest& Request) ////////////////////////////////////////////////////////////////////////// +#if ZEN_PLATFORM_WINDOWS class SecurityAttributes { public: @@ -1717,6 +1718,12 @@ public: } } }; +#else +struct AnyUserSecurityAttributes +{ + int Attributes() { return 0666; } +}; +#endif // ZEN_PLATFORM_WINDOWS ////////////////////////////////////////////////////////////////////////// @@ -1787,6 +1794,7 @@ private: asio::thread_pool m_WorkerThreadPool; asio::io_context m_IoContext; +#if ZEN_PLATFORM_WINDOWS class PipeConnection { enum PipeState @@ -1945,6 +1953,15 @@ private: uint8_t m_MsgBuffer[16384]; }; +#else + class PipeConnection + { + public: + PipeConnection(LocalProjectImpl*) {} + void Accept() {} + void Disconnect() {} + }; +#endif AnyUserSecurityAttributes m_AnyUserSecurityAttributes; std::vector<PipeConnection*> m_ServicePipes; |