small fixes

This commit is contained in:
avanspector
2024-02-25 02:38:35 +01:00
parent 028a79e66c
commit 24c8b15409
2 changed files with 3 additions and 1 deletions

View File

@@ -885,6 +885,8 @@ gb_internal String internal_odin_root_dir(void) {
#include <FindDirectory.h>
gb_internal String path_to_fullpath(gbAllocator a, String s, bool *ok_);
gb_internal String internal_odin_root_dir(void) {
String path = global_module_path;
isize len, i;

View File

@@ -915,7 +915,7 @@ void futex_wait(Futex *f, Footex val) {
waitq->lock();
auto head = &waitq->list;
Wait_Node waiter;
Futex_Wait_Node waiter;
waiter.thread = pthread_self();
waiter.futex = f;
waiter.prev = head;