diff options
| author | Martin Ridgers <[email protected]> | 2021-11-12 09:59:18 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2021-11-12 09:59:18 +0100 |
| commit | 1b9cebc2844672a58897970d320992c76cba92f9 (patch) | |
| tree | 32e556dd8e9ddeec0e02d70f184fe195d345d398 | |
| parent | Merged main (diff) | |
| download | zen-1b9cebc2844672a58897970d320992c76cba92f9.tar.xz zen-1b9cebc2844672a58897970d320992c76cba92f9.zip | |
Wrapped "upstream apply" in ZEN_WITH_COMPUTE_SERVICES
| -rw-r--r-- | zenserver/upstream/upstreamapply.cpp | 5 | ||||
| -rw-r--r-- | zenserver/upstream/upstreamapply.h | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/zenserver/upstream/upstreamapply.cpp b/zenserver/upstream/upstreamapply.cpp index fd24d241c..19d02f753 100644 --- a/zenserver/upstream/upstreamapply.cpp +++ b/zenserver/upstream/upstreamapply.cpp @@ -1,6 +1,9 @@ // Copyright Epic Games, Inc. All Rights Reserved. #include "upstreamapply.h" + +#if ZEN_WITH_COMPUTE_SERVICES + #include "jupiter.h" #include "zen.h" @@ -1489,3 +1492,5 @@ MakeHordeUpstreamEndpoint(const CloudCacheClientOptions& Options, CasStore& CasS } } // namespace zen + +#endif // ZEN_WITH_COMPUTE_SERVICES diff --git a/zenserver/upstream/upstreamapply.h b/zenserver/upstream/upstreamapply.h index 0d26e9d06..e5f0e4faa 100644 --- a/zenserver/upstream/upstreamapply.h +++ b/zenserver/upstream/upstreamapply.h @@ -2,6 +2,10 @@ #pragma once +#include "compute/apply.h" + +#if ZEN_WITH_COMPUTE_SERVICES + #include <zencore/compactbinarypackage.h> #include <zencore/iobuffer.h> #include <zencore/iohash.h> @@ -171,3 +175,5 @@ std::unique_ptr<UpstreamApplyEndpoint> MakeHordeUpstreamEndpoint(const CloudCach CidStore& CidStore); } // namespace zen + +#endif // ZEN_WITH_COMPUTE_SERVICES |