Do not build quic by default

This commit is contained in:
Alex Hultman
2022-05-05 04:22:34 +02:00
parent ca3ab57cf0
commit dfa9214096
2 changed files with 17 additions and 0 deletions
+12
View File
@@ -1,3 +1,5 @@
#ifdef LIBUS_USE_QUIC
/* Do not rely on this API, it will change */
#include "Http3App.h"
#include <iostream>
@@ -18,3 +20,13 @@ int main() {
std::cout << "Failed to listen on port 3000" << std::endl;
}
#else
#include <stdio.h>
int main() {
printf("Compile with WITH_QUIC=1 WITH_BORINGSSL=1 make in order to build this example\n");
}
#endif