aboutsummaryrefslogtreecommitdiff
path: root/zenserver/testing/launch.h
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-11-03 09:25:09 +0100
committerMartin Ridgers <[email protected]>2021-11-03 09:25:09 +0100
commit55a0f5047c069c82e741ecc917e65827377fcda9 (patch)
tree2d0ac1e3e89ccfb70256c1d6a2a4613d2aaf7c69 /zenserver/testing/launch.h
parentMissing include (diff)
downloadzen-55a0f5047c069c82e741ecc917e65827377fcda9.tar.xz
zen-55a0f5047c069c82e741ecc917e65827377fcda9.zip
Wrapped /apply/ and /exec/ services in a ZEN_WITH_COMPUTE_SERVICES define
Diffstat (limited to 'zenserver/testing/launch.h')
-rw-r--r--zenserver/testing/launch.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/zenserver/testing/launch.h b/zenserver/testing/launch.h
index 49f12e2ec..864d6ac5d 100644
--- a/zenserver/testing/launch.h
+++ b/zenserver/testing/launch.h
@@ -2,6 +2,12 @@
#pragma once
+#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>
@@ -36,3 +42,5 @@ private:
};
} // namespace zen
+
+#endif // ZEN_WITH_COMPUTE_SERVICES