fix build

This commit is contained in:
Colin Davidson
2022-12-28 21:52:41 -08:00
parent 5f27f2dd7f
commit e019673a18
2 changed files with 3 additions and 2 deletions

View File

@@ -69,6 +69,7 @@ set compiler_includes= ^
/Isrc\
set libs= ^
kernel32.lib ^
Synchronization.lib ^
bin\llvm\windows\LLVM-C.lib
set linker_flags= -incremental:no -opt:ref -subsystem:console
@@ -95,4 +96,4 @@ if %release_mode% EQU 0 odin run examples/demo
del *.obj > NUL 2> NUL
:end_of_build
:end_of_build

View File

@@ -529,7 +529,7 @@ gb_internal void tpool_wake_addr(Futex *addr) {
gb_internal void tpool_wait_on_addr(Futex *addr, Footex val) {
for (;;) {
int ret = WaitOnAddress(addr, (void *)&val, sizeof(val), INFINITE);
WaitOnAddress(addr, (void *)&val, sizeof(val), INFINITE);
if (*addr != val) break;
}
}