diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-01-28 07:09:44 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2018-01-28 07:09:52 +0100 |
commit | 18e90244d305faeb5560c02d6f0b9e848830ecc7 (patch) | |
tree | 56f730a8b7a8f4edc3b50a2dfefe2d7819e73855 /backend/ninja | |
parent | 6a7f6c7087b22c8df70b5d9df1e96c3f10a1fc86 (diff) |
.cc files are c++ files, not c
Diffstat (limited to 'backend/ninja')
-rw-r--r-- | backend/ninja/Ninja.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp index 6104d52..9714f1d 100644 --- a/backend/ninja/Ninja.cpp +++ b/backend/ninja/Ninja.cpp @@ -640,7 +640,7 @@ namespace backend for(const string &sourceFile : sourceFiles) { SourceFileLanguage sourceFileLanguage = SourceFileLanguage::CPP; - if(endsWith(sourceFile, ".c") || endsWith(sourceFile, ".cc")) + if(endsWith(sourceFile, ".c")) sourceFileLanguage = SourceFileLanguage::C; const char *buildTarget; |