diff src/thread/win32/SDL_systhread.c @ 1470:d47d96962fcc

Fixed declarations to match mingw includes
author Sam Lantinga <slouken@libsdl.org>
date Mon, 06 Mar 2006 06:00:45 +0000
parents bb6839704ed6
children 9fb0eee04dd9
line wrap: on
line diff
--- a/src/thread/win32/SDL_systhread.c	Mon Mar 06 01:34:36 2006 +0000
+++ b/src/thread/win32/SDL_systhread.c	Mon Mar 06 06:00:45 2006 +0000
@@ -59,16 +59,16 @@
 int SDL_SYS_CreateThread(SDL_Thread *thread, void *args, pfnSDL_CurrentBeginThread pfnBeginThread, pfnSDL_CurrentEndThread pfnEndThread)
 {
 	unsigned threadid;
-    pThreadStartParms pThreadParms = (pThreadStartParms)SDL_malloc(sizeof(tThreadStartParms));
-    if (!pThreadParms) {
+	pThreadStartParms pThreadParms = (pThreadStartParms)SDL_malloc(sizeof(tThreadStartParms));
+	if (!pThreadParms) {
 		SDL_OutOfMemory();
-        return(-1);
-    }
+		return(-1);
+	}
 
-    // Save the function which we will have to call to clear the RTL of calling app!
-    pThreadParms->pfnCurrentEndThread = pfnEndThread;
-    // Also save the real parameters we have to pass to thread function
-    pThreadParms->args = args;
+	// Save the function which we will have to call to clear the RTL of calling app!
+	pThreadParms->pfnCurrentEndThread = pfnEndThread;
+	// Also save the real parameters we have to pass to thread function
+	pThreadParms->args = args;
 
 	if (pfnBeginThread) {
 		thread->handle = (SYS_ThreadHandle) pfnBeginThread(NULL, 0, RunThread,