Skip to content

Commit 6050f93

Browse files
authored
Prepare to build on Windows (#123)
1 parent 168f55b commit 6050f93

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ fn build_c(files: Vec<String>, language: &str) {
105105
.opt_level(get_opt_level())
106106
.debug(get_debug())
107107
.warnings(false)
108-
.flag("-std=c99");
108+
.flag_if_supported("-std=c99");
109109
}
110110
build.compile(&format!("tree-sitter-{}-c", language));
111111
}

tree-sitter-mozcpp/src/scanner.cc

Lines changed: 0 additions & 1 deletion
This file was deleted.

tree-sitter-mozcpp/src/scanner.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "../../tree-sitter-cpp/src/scanner.cc"

0 commit comments

Comments
 (0)