Fix windows build

pull/9556/head
Yuchen Zeng 8 years ago
parent b5eaf7734c
commit 5dd2f48e24
  1. 2
      test/cpp/util/grpc_tool.cc

@ -569,7 +569,7 @@ bool GrpcTool::CallMethod(int argc, const char** argv,
std::ifstream input_file; std::ifstream input_file;
if (FLAGS_infile.empty()) { if (FLAGS_infile.empty()) {
if (isatty(STDIN_FILENO)) { if (isatty(fileno(stdin))) {
print_mode = true; print_mode = true;
fprintf(stderr, "reading request messages from stdin...\n"); fprintf(stderr, "reading request messages from stdin...\n");
} }

Loading…
Cancel
Save