From ad8213f35523cbb07f418ae275af448a47cc0288 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Sun, 25 May 2025 22:37:57 -0300 Subject: linux Makefile + fix most compilation problems I wanted to see if the compiler had any problems with the code so far and added a few stub definitions so that each file would properly compile. We still fail when linking but we're able to to find and fix compile time errors. --- src/thread.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/thread.cc') diff --git a/src/thread.cc b/src/thread.cc index 2d2d427..89dfc92 100644 --- a/src/thread.cc +++ b/src/thread.cc @@ -50,7 +50,7 @@ int JoinThread(ThreadHandle Handle){ int Result = 0; int *ResultPointer; - pthread_join((pthread_t)Handle, &ResultPointer); + pthread_join((pthread_t)Handle, (void**)&ResultPointer); if(ResultPointer != NULL){ Result = *ResultPointer; delete ResultPointer; -- cgit v1.2.3