diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/objective_c_generator_helpers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/objective_c_generator_helpers.h b/src/compiler/objective_c_generator_helpers.h index 3dffe6bd53..a68a271be7 100644 --- a/src/compiler/objective_c_generator_helpers.h +++ b/src/compiler/objective_c_generator_helpers.h @@ -77,7 +77,7 @@ inline ::grpc::string PreprocIfElse(const ::grpc::string& symbol, inline ::grpc::string PreprocIfNotElse(const ::grpc::string& symbol, const ::grpc::string& if_true, const ::grpc::string& if_false) { - return ::grpc::string("#if " + PreprocConditional(symbol, false) + "\n" + + return ::grpc::string("#if " + PreprocConditional(symbol, true) + "\n" + if_true + "#else\n" + if_false + "#endif\n"); } |