Mercurial > sdl-ios-xcode
comparison src/thread/amigaos/SDL_systhread_c.h @ 255:dcb5e869f8b5
Updated Amiga port by Gabriele Greco
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 16 Dec 2001 20:00:27 +0000 |
parents | e8157fcb3114 |
children | f6ffac90895c |
comparison
equal
deleted
inserted
replaced
254:4fc12b8edf74 | 255:dcb5e869f8b5 |
---|---|
26 #endif | 26 #endif |
27 | 27 |
28 #include <exec/exec.h> | 28 #include <exec/exec.h> |
29 #include <dos/dos.h> | 29 #include <dos/dos.h> |
30 #include <dos/dostags.h> | 30 #include <dos/dostags.h> |
31 #ifdef __SASC | 31 #if defined (__SASC) || defined(STORMC4_WOS) |
32 #include <proto/dos.h> | 32 #include <proto/dos.h> |
33 #include <proto/exec.h> | 33 #include <proto/exec.h> |
34 #else | 34 #else |
35 #include <inline/dos.h> | 35 #include <inline/dos.h> |
36 #include <inline/exec.h> | 36 #include <inline/exec.h> |
42 #include "mydebug.h" | 42 #include "mydebug.h" |
43 | 43 |
44 extern struct ExecBase *SysBase; | 44 extern struct ExecBase *SysBase; |
45 extern struct DosLibrary *DOSBase; | 45 extern struct DosLibrary *DOSBase; |
46 | 46 |
47 #ifdef STORMC4_WOS | |
48 #include <proto/powerpc.h> | |
49 | |
50 /* use powerpc.library functions instead og exec */ | |
51 #define SYS_ThreadHandle struct TaskPPC * | |
52 #define Signal SignalPPC | |
53 #define Wait WaitPPC | |
54 #define Task TaskPPC | |
55 #define FindTask FindTaskPPC | |
56 #define SetSignal SetSignalPPC | |
57 | |
58 #define InitSemaphore InitSemaphorePPC | |
59 #define ObtainSemaphore ObtainSemaphorePPC | |
60 #define AttemptSemaphore AttemptSemaphorePPC | |
61 #define ReleaseSemaphore ReleaseSemaphorePPC | |
62 #define SignalSemaphore SignalSemaphorePPC | |
63 | |
64 #else | |
65 | |
47 #define SYS_ThreadHandle struct Task * | 66 #define SYS_ThreadHandle struct Task * |
67 #endif /*STORMC4_WOS*/ | |
48 | 68 |