aboutsummaryrefslogtreecommitdiff
path: root/zenserver/testing/launch.h
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2021-12-14 12:34:47 +0100
committerPer Larsson <[email protected]>2021-12-14 12:34:47 +0100
commitb6c6568e1618f10d2160d836b65e35586e3c740f (patch)
treef6a929cf918850bbba87d0ee67cd3482b2d50e24 /zenserver/testing/launch.h
parentFixed bug in z$ service returning partial cache records and enable small obje... (diff)
parentPartial revert b363c5b (diff)
downloadzen-b6c6568e1618f10d2160d836b65e35586e3c740f.tar.xz
zen-b6c6568e1618f10d2160d836b65e35586e3c740f.zip
Merged main.
Diffstat (limited to 'zenserver/testing/launch.h')
-rw-r--r--zenserver/testing/launch.h16
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