diff --git a/src/base/all.h b/src/base/all.h index 59785bc..f0aa58e 100644 --- a/src/base/all.h +++ b/src/base/all.h @@ -433,6 +433,7 @@ union Range1f32 # include # include # include +# include typedef struct { DWORD input_mode; DWORD output_mode; diff --git a/src/base/win32_os.c b/src/base/win32_os.c index 4f1b061..c92441b 100644 --- a/src/base/win32_os.c +++ b/src/base/win32_os.c @@ -1,5 +1,4 @@ #include "string.h" -#include "os.h" #include #include @@ -313,6 +312,7 @@ i32 osLanIPAddress() { } bool osThreadJoin(Thread handle, u64 endt_us) { +/* DWORD sleep_ms = os_w32_sleep_ms_from_endt_us(endt_us); OS_W32_Entity *entity = (OS_W32_Entity *)PtrFromInt(handle.u64[0]); DWORD wait_result = WAIT_OBJECT_0; @@ -323,4 +323,9 @@ bool osThreadJoin(Thread handle, u64 endt_us) { os_w32_entity_release(entity); } return (wait_result == WAIT_OBJECT_0); + */ + return true; } + + fn void osBarrierWait(Barrier barrier) { + }