aboutsummaryrefslogtreecommitdiff
path: root/zenserver/zenserver.cpp
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-11-02 15:27:20 +0100
committerMartin Ridgers <[email protected]>2021-11-02 15:29:02 +0100
commitfe6431ee56b662c020882914fcd22e74b368d8c9 (patch)
treec09740e88911c77afbac7fe5044edff696f777f5 /zenserver/zenserver.cpp
parentStubbed out Project Store's PipeConnection on POSIX (diff)
downloadzen-fe6431ee56b662c020882914fcd22e74b368d8c9.tar.xz
zen-fe6431ee56b662c020882914fcd22e74b368d8c9.zip
if-def'd out Windows service handling code in zenserver.cpp
Diffstat (limited to 'zenserver/zenserver.cpp')
-rw-r--r--zenserver/zenserver.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/zenserver/zenserver.cpp b/zenserver/zenserver.cpp
index e8ae52e45..37b841a3f 100644
--- a/zenserver/zenserver.cpp
+++ b/zenserver/zenserver.cpp
@@ -736,6 +736,7 @@ ZenServer::InitializeStructuredCache(ZenServiceConfig& ServiceConfig)
} // namespace zen
+#if ZEN_PLATFORM_WINDOWS
class ZenWindowsService : public WindowsService
{
public:
@@ -893,6 +894,10 @@ ZenWindowsService::Run()
return 0;
}
+#endif // ZEN_PLATFORM_WINDOWS
+
+////////////////////////////////////////////////////////////////////////////////
+
#if ZEN_WITH_TESTS
int
test_main(int argc, char** argv)