Linux build fails due to undeclared variable

This commit is contained in:
Bjorn Reese 2013-03-05 11:52:47 +01:00
parent be1160832e
commit 7e37cc8ed4

View File

@ -316,7 +316,7 @@ int main (int argc, char *argv [])
WaitForSingleObject (worker[i], INFINITE); WaitForSingleObject (worker[i], INFINITE);
CloseHandle (worker[i]); CloseHandle (worker[i]);
#else #else
pthread_join( worker[i], &p); pthread_join( worker[i], NULL);
#endif #endif
printf("Worker %d joined\n", i); printf("Worker %d joined\n", i);
} }