diff src/thread/pth/SDL_systhread.c @ 1361:19418e4422cb

New configure-based build system. Still work in progress, but much improved
author Sam Lantinga <slouken@libsdl.org>
date Thu, 16 Feb 2006 10:11:48 +0000
parents c71e05b4dc2e
children d910939febfa
line wrap: on
line diff
--- a/src/thread/pth/SDL_systhread.c	Fri Feb 10 07:29:08 2006 +0000
+++ b/src/thread/pth/SDL_systhread.c	Thu Feb 16 10:11:48 2006 +0000
@@ -27,10 +27,10 @@
  */
 
 #include "SDL_thread.h"
-#include "SDL_systhread.h"
+#include "../SDL_systhread.h"
 
+#include <pth.h>
 #include <signal.h>
-#include <pth.h>
 
 /* List of signals to mask in the subthreads */
 static int sig_list[] = {
@@ -91,7 +91,7 @@
 
 void SDL_SYS_WaitThread(SDL_Thread *thread)
 {
-	pth_join(thread->handle, 0);
+	pth_join(thread->handle, NULL);
 }
 
 void SDL_SYS_KillThread(SDL_Thread *thread)