mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 22:28:46 +00:00
small fixes
This commit is contained in:
@@ -885,6 +885,8 @@ gb_internal String internal_odin_root_dir(void) {
|
|||||||
|
|
||||||
#include <FindDirectory.h>
|
#include <FindDirectory.h>
|
||||||
|
|
||||||
|
gb_internal String path_to_fullpath(gbAllocator a, String s, bool *ok_);
|
||||||
|
|
||||||
gb_internal String internal_odin_root_dir(void) {
|
gb_internal String internal_odin_root_dir(void) {
|
||||||
String path = global_module_path;
|
String path = global_module_path;
|
||||||
isize len, i;
|
isize len, i;
|
||||||
|
|||||||
+1
-1
@@ -915,7 +915,7 @@ void futex_wait(Futex *f, Footex val) {
|
|||||||
waitq->lock();
|
waitq->lock();
|
||||||
|
|
||||||
auto head = &waitq->list;
|
auto head = &waitq->list;
|
||||||
Wait_Node waiter;
|
Futex_Wait_Node waiter;
|
||||||
waiter.thread = pthread_self();
|
waiter.thread = pthread_self();
|
||||||
waiter.futex = f;
|
waiter.futex = f;
|
||||||
waiter.prev = head;
|
waiter.prev = head;
|
||||||
|
|||||||
Reference in New Issue
Block a user