Skip to content
Permalink
Browse files

New configure-based build system. Still work in progress, but much im…

…proved
  • Loading branch information
slouken committed Feb 16, 2006
1 parent d0f1266 commit 0cc05bc994c556bd4f8dc1d577c440e3b44bb7b7

File 190 of 471 in 0cc05bc

@@ -23,8 +23,32 @@
#ifndef _SDL_thread_c_h
#define _SDL_thread_c_h

#include "SDL_error_c.h"
#include "SDL_systhread_c.h"
/* Need the definitions of SYS_ThreadHandle */
#if SDL_THREADS_DISABLED
#include "generic/SDL_systhread_c.h"
#elif SDL_THREAD_AMIGA
#include "amigaos/SDL_systhread_c.h"
#elif SDL_THREAD_BEOS
#include "beos/SDL_systhread_c.h"
#elif SDL_THREAD_DC
#include "dc/SDL_systhread_c.h"
#elif SDL_THREAD_EPOC
#include "epoc/SDL_systhread_c.h"
#elif SDL_THREAD_OS2
#include "os2/SDL_systhread_c.h"
#elif SDL_THREAD_PTH
#include "pth/SDL_systhread_c.h"
#elif SDL_THREAD_PTHREAD
#include "pthread/SDL_systhread_c.h"
#elif SDL_THREAD_SPROC
#include "irix/SDL_systhread_c.h"
#elif SDL_THREAD_WIN32
#include "win32/SDL_systhread_c.h"
#else
#error Need thread implementation for this platform
#include "generic/SDL_systhread_c.h"
#endif
#include "../SDL_error_c.h"

/* This is the system-independent thread info structure */
struct SDL_Thread {
@@ -38,7 +62,4 @@ struct SDL_Thread {
/* This is the function called to run a thread */
extern void SDL_RunThread(void *data);

/* Routine to get the thread-specific error variable */
extern SDL_error *SDL_GetErrBuf(void);

#endif /* _SDL_thread_c_h */

0 comments on commit 0cc05bc

Please sign in to comment.