Skip to content

Commit 147b083

Browse files
authored
fix: TRPC_BUILD_INCLUDE_RPCZ macro missing (#157)
1 parent a1be1da commit 147b083

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

examples/features/rpcz/proxy/rpcz_proxy.cc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
//
1212
//
1313

14+
#ifdef TRPC_BUILD_INCLUDE_RPCZ
15+
1416
#include "examples/features/rpcz/proxy/rpcz_proxy.h"
1517

1618
#include "trpc/rpcz/trpc_rpcz.h"
@@ -90,3 +92,11 @@ int main(int argc, char** argv) {
9092

9193
return 0;
9294
}
95+
96+
#else
97+
98+
int main(int argc, char** argv) {
99+
return 0;
100+
}
101+
102+
#endif // TRPC_BUILD_INCLUDE_RPCZ

0 commit comments

Comments
 (0)