Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/src/timer/dummy/SDL_systimer.c Fri Apr 14 03:56:31 2006 +0000 +++ b/src/timer/dummy/SDL_systimer.c Fri Apr 14 04:46:47 2006 +0000 @@ -21,6 +21,8 @@ */ #include "SDL_config.h" +#if defined(SDL_TIMER_DUMMY) || defined(SDL_TIMERS_DISABLED) + #include "SDL_timer.h" #include "../SDL_timer_c.h" @@ -85,3 +87,5 @@ { return; } + +#endif /* SDL_TIMER_DUMMY || SDL_TIMERS_DISABLED */