diff options
| author | Per Larsson <[email protected]> | 2021-12-14 12:34:47 +0100 |
|---|---|---|
| committer | Per Larsson <[email protected]> | 2021-12-14 12:34:47 +0100 |
| commit | b6c6568e1618f10d2160d836b65e35586e3c740f (patch) | |
| tree | f6a929cf918850bbba87d0ee67cd3482b2d50e24 /zenserver/compute/apply.h | |
| parent | Fixed bug in z$ service returning partial cache records and enable small obje... (diff) | |
| parent | Partial revert b363c5b (diff) | |
| download | zen-b6c6568e1618f10d2160d836b65e35586e3c740f.tar.xz zen-b6c6568e1618f10d2160d836b65e35586e3c740f.zip | |
Merged main.
Diffstat (limited to 'zenserver/compute/apply.h')
| -rw-r--r-- | zenserver/compute/apply.h | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/zenserver/compute/apply.h b/zenserver/compute/apply.h index 0d6edf119..161e47e06 100644 --- a/zenserver/compute/apply.h +++ b/zenserver/compute/apply.h @@ -2,13 +2,21 @@ #pragma once -#include <zencore/compactbinary.h> -#include <zencore/iohash.h> -#include <zencore/logging.h> -#include <zenhttp/httpserver.h> +#include <zencore/zencore.h> -#include <filesystem> -#include <unordered_map> +#if !defined(ZEN_WITH_COMPUTE_SERVICES) +# define ZEN_WITH_COMPUTE_SERVICES ZEN_PLATFORM_WINDOWS +#endif + +#if ZEN_WITH_COMPUTE_SERVICES + +# include <zencore/compactbinary.h> +# include <zencore/iohash.h> +# include <zencore/logging.h> +# include <zenhttp/httpserver.h> + +# include <filesystem> +# include <unordered_map> namespace zen { @@ -54,3 +62,5 @@ private: }; } // namespace zen + +#endif // ZEN_WITH_COMPUTE_SERVICES |