aboutsummaryrefslogtreecommitdiff
path: root/zenserver/zenserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zenserver/zenserver.cpp')
-rw-r--r--zenserver/zenserver.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/zenserver/zenserver.cpp b/zenserver/zenserver.cpp
index 0d9126334..bed60a82a 100644
--- a/zenserver/zenserver.cpp
+++ b/zenserver/zenserver.cpp
@@ -365,7 +365,9 @@ public:
void InitializeState(const ZenServerOptions& ServerOptions);
void InitializeStructuredCache(const ZenServerOptions& ServerOptions);
+#if ZEN_WITH_COMPUTE_SERVICES
void InitializeCompute(const ZenServerOptions& ServerOptions);
+#endif
#if ZEN_ENABLE_MESH
void StartMesh(int BasePort)
@@ -827,6 +829,7 @@ ZenServer::InitializeStructuredCache(const ZenServerOptions& ServerOptions)
m_Http->RegisterService(*m_UpstreamService);
}
+#if ZEN_WITH_COMPUTE_SERVICES
void
ZenServer::InitializeCompute(const ZenServerOptions& ServerOptions)
{
@@ -877,6 +880,7 @@ ZenServer::InitializeCompute(const ZenServerOptions& ServerOptions)
*m_AuthMgr);
}
}
+#endif
////////////////////////////////////////////////////////////////////////////////