diff src/thread/pthread/SDL_systhread.c @ 1402:d910939febfa

Use consistent identifiers for the various platforms we support. Make sure every source file includes SDL_config.h, so the proper system headers are chosen.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 21 Feb 2006 08:46:50 +0000
parents 19418e4422cb
children 1e8582152d44
line wrap: on
line diff
--- a/src/thread/pthread/SDL_systhread.c	Tue Feb 21 08:34:45 2006 +0000
+++ b/src/thread/pthread/SDL_systhread.c	Tue Feb 21 08:46:50 2006 +0000
@@ -19,6 +19,7 @@
     Sam Lantinga
     slouken@libsdl.org
 */
+#include "SDL_config.h"
 
 #include <pthread.h>
 #include <signal.h>
@@ -96,7 +97,7 @@
 #ifdef PTHREAD_CANCEL_ASYNCHRONOUS
 	pthread_cancel(thread->handle);
 #else
-#ifdef __FreeBSD__
+#ifdef __FREEBSD__
 #warning For some reason, this doesnt actually kill a thread - FreeBSD 3.2
 #endif
 	pthread_kill(thread->handle, SIGKILL);