aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/zenhttp.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-04-19 11:11:57 +0200
committerStefan Boberg <[email protected]>2023-04-19 11:11:57 +0200
commit8fe9a0fcfabee7772bab3ff47cf90aebfc33243e (patch)
tree6bb06ba66215dfd25b653fb7266ee98fa0997152 /zenhttp/zenhttp.cpp
parenttweaks for enabling unity builds (diff)
downloadzen-8fe9a0fcfabee7772bab3ff47cf90aebfc33243e.tar.xz
zen-8fe9a0fcfabee7772bab3ff47cf90aebfc33243e.zip
put forcelink calls into ZEN_WITH_TESTS blocks
Diffstat (limited to 'zenhttp/zenhttp.cpp')
-rw-r--r--zenhttp/zenhttp.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/zenhttp/zenhttp.cpp b/zenhttp/zenhttp.cpp
index 1adca30e8..d49b3818f 100644
--- a/zenhttp/zenhttp.cpp
+++ b/zenhttp/zenhttp.cpp
@@ -2,6 +2,8 @@
#include <zenhttp/zenhttp.h>
+#if ZEN_WITH_TESTS
+
#include <zenhttp/httpclient.h>
#include <zenhttp/httpserver.h>
#include <zenhttp/httpshared.h>
@@ -16,3 +18,5 @@ zenhttp_forcelinktests()
}
} // namespace zen
+
+#endif