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/testing/launch.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/testing/launch.h')
| -rw-r--r-- | zenserver/testing/launch.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/zenserver/testing/launch.h b/zenserver/testing/launch.h index 49f12e2ec..925fa18b0 100644 --- a/zenserver/testing/launch.h +++ b/zenserver/testing/launch.h @@ -2,10 +2,18 @@ #pragma once -#include <zencore/logging.h> -#include <zenhttp/httpserver.h> +#include <zencore/zencore.h> -#include <filesystem> +#if !defined(ZEN_WITH_COMPUTE_SERVICES) +# define ZEN_WITH_COMPUTE_SERVICES ZEN_PLATFORM_WINDOWS +#endif + +#if ZEN_WITH_COMPUTE_SERVICES + +# include <zencore/logging.h> +# include <zenhttp/httpserver.h> + +# include <filesystem> namespace zen { @@ -36,3 +44,5 @@ private: }; } // namespace zen + +#endif // ZEN_WITH_COMPUTE_SERVICES |