diff --git a/4ed_file_view.cpp b/4ed_file_view.cpp index b686c3af..be19db1a 100644 --- a/4ed_file_view.cpp +++ b/4ed_file_view.cpp @@ -4767,28 +4767,31 @@ step_file_view(System_Functions *system, View *view, View *active_view, Input_Su { b8 threads[4]; i32 pending = 0; - system->internal_get_thread_states(BACKGROUND_THREADS, - threads, &pending); - string.size = 0; - append(&string, "pending jobs: "); - append_int_to_str(&string, pending); - gui_do_text_field(target, string, empty_str); - - for (i32 i = 0; i < 4; ++i){ + if (system->internal_get_thread_states){ + system->internal_get_thread_states(BACKGROUND_THREADS, + threads, &pending); + string.size = 0; - append(&string, "thread "); - append_int_to_str(&string, i); - append(&string, ": "); - - if (threads[i]){ - append(&string, "running"); - } - else{ - append(&string, "waiting"); - } - + append(&string, "pending jobs: "); + append_int_to_str(&string, pending); gui_do_text_field(target, string, empty_str); + + for (i32 i = 0; i < 4; ++i){ + string.size = 0; + append(&string, "thread "); + append_int_to_str(&string, i); + append(&string, ": "); + + if (threads[i]){ + append(&string, "running"); + } + else{ + append(&string, "waiting"); + } + + gui_do_text_field(target, string, empty_str); + } } Partition *part = &models->mem.part; diff --git a/build_all.bat b/build_all.bat index b5a59566..c18477e6 100644 --- a/build_all.bat +++ b/build_all.bat @@ -23,9 +23,9 @@ popd pushd ..\build REM call "..\code\buildsuper.bat" ..\code\4coder_default_bindings.cpp -call "..\code\buildsuper.bat" ..\code\power\4coder_experiments.cpp +REM call "..\code\buildsuper.bat" ..\code\power\4coder_experiments.cpp REM call "..\code\buildsuper.bat" ..\code\power\4coder_casey.cpp -REM call "..\code\buildsuper.bat" ..\4vim\4coder_chronal.cpp +call "..\code\buildsuper.bat" ..\4vim\4coder_chronal.cpp if %ERRORLEVEL% neq 0 (set FirstError=1) set EXPORTS=/EXPORT:app_get_functions