comparison src/timer/dummy/SDL_systimer.c @ 1635:92947e3a18db

Make sure code is only compiled if the appropriate subsystem is enabled
author Sam Lantinga <slouken@libsdl.org>
date Fri, 14 Apr 2006 04:46:47 +0000
parents b2b476a4a73c
children 782fd950bd46 c121d94672cb a1b03ba2fcd0
comparison
equal deleted inserted replaced
1634:14f302c5b32c 1635:92947e3a18db
18 18
19 Sam Lantinga 19 Sam Lantinga
20 slouken@libsdl.org 20 slouken@libsdl.org
21 */ 21 */
22 #include "SDL_config.h" 22 #include "SDL_config.h"
23
24 #if defined(SDL_TIMER_DUMMY) || defined(SDL_TIMERS_DISABLED)
23 25
24 #include "SDL_timer.h" 26 #include "SDL_timer.h"
25 #include "../SDL_timer_c.h" 27 #include "../SDL_timer_c.h"
26 28
27 void SDL_StartTicks(void) 29 void SDL_StartTicks(void)
83 85
84 void SDL_SYS_StopTimer(void) 86 void SDL_SYS_StopTimer(void)
85 { 87 {
86 return; 88 return;
87 } 89 }
90
91 #endif /* SDL_TIMER_DUMMY || SDL_TIMERS_DISABLED */