hack-in temp backslash for windows

This commit is contained in:
Nikita Smith
2026-06-02 12:10:16 -07:00
committed by Ryan Fleury
parent 2102239b81
commit 857ab15aaa
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -137,7 +137,11 @@ t_delete_dir(String8 path)
internal String8
t_make_file_path(Arena *arena, String8 name)
{
#if OS_WINDOWS
return push_str8f(arena, "%S\\%S", g_wdir, name);
#else
return push_str8f(arena, "%S/%S", g_wdir, name);
#endif
}
internal B32
+1 -1
View File
@@ -5134,7 +5134,7 @@ TEST(debug_p_and_debug_t_in_obj)
String8 expected_line = str8f(arena, "Warning(%03d): %S: multiple sections with debug types detected, obj must have either .debug$T or .debug$P; discarding both sections", LNK_Warning_MultipleDebugTAndDebugP, pch_obj_path);
while (output.size) {
String8 line = t_chop_line(&output);
found_warning = str8_match(line, expected_line, StringMatchFlag_CaseInsensitive);
found_warning = str8_match(line, expected_line, StringMatchFlag_CaseInsensitive|StringMatchFlag_SlashInsensitive);
if (found_warning) { break; }
}
T_Ok(found_warning);