1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

os: move C struct declarations in their own _default.c.v files (#12268)

This commit is contained in:
Delyan Angelov
2021-10-22 17:08:08 +03:00
committed by GitHub
parent 0401b5ece0
commit eed94c727c
12 changed files with 78 additions and 55 deletions

View File

@@ -186,7 +186,7 @@ pub fn should_recompile_tool(vexe string, tool_source string, tool_name string,
if os.is_dir(tool_source) {
source_files := os.walk_ext(tool_source, '.v')
mut newest_sfile := ''
mut newest_sfile_mtime := 0
mut newest_sfile_mtime := i64(0)
for sfile in source_files {
mtime := os.file_last_mod_unix(sfile)
if mtime > newest_sfile_mtime {