mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 23:28:48 +00:00
Check for CURR_DATE_TIME
This commit is contained in:
@@ -237,6 +237,9 @@ bool try_cached_build(Checker *c, Array<String> const &args) {
|
|||||||
String16 wstr = make_string16_c(curr_string);
|
String16 wstr = make_string16_c(curr_string);
|
||||||
curr_string += wstr.len+1;
|
curr_string += wstr.len+1;
|
||||||
String str = string16_to_string(temporary_allocator(), wstr);
|
String str = string16_to_string(temporary_allocator(), wstr);
|
||||||
|
if (string_starts_with(str, str_lit("CURR_DATE_TIME="))) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
array_add(&envs, str);
|
array_add(&envs, str);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user