Down to one compile error

This commit is contained in:
Krzosa Karol
2022-10-09 10:47:33 +02:00
parent 8ad8e72b3a
commit fb6c89f845
2 changed files with 3 additions and 10 deletions

View File

@@ -226,7 +226,7 @@ For modules it's a bit different cause they should be distributed as valid.
#include "base.cpp"
#include "base_unicode.cpp"
#include "os.h"
#if OS_WINDOWS
#include "os_windows.cpp"
#elif OS_UNIX
@@ -270,7 +270,9 @@ int main(int argument_count, char **arguments){
}
#endif
#if OS_WINDOWS
test_os_memory();
#endif
thread_ctx_init();
test_unicode();

View File

@@ -181,15 +181,6 @@ os_does_file_exist(String path){
return result;
}
const U32 LIST_NO_FLAGS = 0;
const U32 LIST_RECURSE_INTO_DIRS = 1;
struct OS_File_Info{
String relative_path;
String absolute_path;
B32 is_directory;
};
function Array<OS_File_Info>
os_list_dir(Allocator *a, String dir, U32 flags = LIST_NO_FLAGS){
Scratch scratch(a);