mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-01 10:52:19 +00:00
small fixes
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user