fix windows build

This commit is contained in:
Tenari
2026-03-09 20:54:15 -05:00
parent 2eaab9845d
commit 5c177d5071
2 changed files with 7 additions and 1 deletions
+1
View File
@@ -433,6 +433,7 @@ union Range1f32
# include <ws2tcpip.h>
# include <timeapi.h>
# include <conio.h>
# include <pthread.h>
typedef struct {
DWORD input_mode;
DWORD output_mode;
+6 -1
View File
@@ -1,5 +1,4 @@
#include "string.h"
#include "os.h"
#include <userenv.h>
#include <stdio.h>
@@ -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) {
}