소스 검색

Fix detecting file as directory on zOS issue #8051

Mahdi Hosseini 5 년 전
부모
커밋
7b352d318b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/google/protobuf/compiler/importer.cc

+ 1 - 1
src/google/protobuf/compiler/importer.cc

@@ -500,7 +500,7 @@ io::ZeroCopyInputStream* DiskSourceTree::OpenDiskFile(
       last_error_message_ = "Input file is a directory.";
       return NULL;
   }
-#elif
+#else
   if (ret == 0 && S_ISDIR(sb.st_mode)) {
     last_error_message_ = "Input file is a directory.";
     return NULL;