comparison src/video/riscos/SDL_riscostask.c @ 1361:19418e4422cb

New configure-based build system. Still work in progress, but much improved
author Sam Lantinga <slouken@libsdl.org>
date Thu, 16 Feb 2006 10:11:48 +0000
parents c71e05b4dc2e
children c0a74f199ecf
comparison
equal deleted inserted replaced
1360:70a9cfb4cf1b 1361:19418e4422cb
35 #include "swis.h" 35 #include "swis.h"
36 36
37 #include "SDL_stdinc.h" 37 #include "SDL_stdinc.h"
38 #include "SDL_riscostask.h" 38 #include "SDL_riscostask.h"
39 39
40 #ifndef DISABLE_THREADS 40 #if !SDL_THREADS_DISABLED
41 #include <pthread.h> 41 #include <pthread.h>
42 pthread_t main_thread; 42 pthread_t main_thread;
43 #endif 43 #endif
44 44
45 /* RISC OS variables */ 45 /* RISC OS variables */
108 wimp_version = regs.r[0]; 108 wimp_version = regs.r[0];
109 task_handle = regs.r[1]; 109 task_handle = regs.r[1];
110 return 1; 110 return 1;
111 } 111 }
112 112
113 #ifndef DISABLE_THREADS 113 #if !SDL_THREADS_DISABLED
114 main_thread = pthread_self(); 114 main_thread = pthread_self();
115 #endif 115 #endif
116 116
117 return 0; 117 return 0;
118 } 118 }