forked from len0rd/rockbox
sdl: a couple minor fixes
Prevents system SDL from interfering with thread driver selection. Also adds test code for alignment faults. Change-Id: I8bc181922c4a9e764429897dbbaa1ffaabd01126
This commit is contained in:
parent
c7f26de2bf
commit
71922db6cf
3 changed files with 18 additions and 20 deletions
|
@ -24,24 +24,11 @@
|
|||
#ifndef _SDL_thread_c_h
|
||||
#define _SDL_thread_c_h
|
||||
|
||||
/* Need the definitions of SYS_ThreadHandle */
|
||||
#if SDL_THREADS_DISABLED
|
||||
#include "generic/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_OS2
|
||||
#include "os2/SDL_systhread_c.h"
|
||||
#elif SDL_THREAD_PTH
|
||||
#include "pth/SDL_systhread_c.h"
|
||||
#elif SDL_THREAD_SPROC
|
||||
#include "irix/SDL_systhread_c.h"
|
||||
#elif SDL_THREAD_WIN32
|
||||
#include "win32/SDL_systhread_c.h"
|
||||
#elif SDL_THREAD_SYMBIAN
|
||||
#include "symbian/SDL_systhread_c.h"
|
||||
#elif SDL_THREAD_ROCKBOX
|
||||
#ifndef SDL_THREAD_ROCKBOX
|
||||
#define SDL_THREAD_ROCKBOX 1
|
||||
#endif
|
||||
|
||||
#if SDL_THREAD_ROCKBOX
|
||||
#include "rockbox/SDL_systhread_c.h"
|
||||
#else
|
||||
#error Need thread implementation for this platform
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue