Mercurial > sdl-ios-xcode
comparison src/timer/macos/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 | d910939febfa |
children | 14717b52abc0 4c270c3a88ed |
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 #ifdef SDL_TIMER_MACOS | |
23 | 25 |
24 #include <Types.h> | 26 #include <Types.h> |
25 #include <Timer.h> | 27 #include <Timer.h> |
26 #include <OSUtils.h> | 28 #include <OSUtils.h> |
27 #include <Gestalt.h> | 29 #include <Gestalt.h> |
170 | 172 |
171 void SDL_SYS_StopTimer(void) | 173 void SDL_SYS_StopTimer(void) |
172 { | 174 { |
173 RmvTime((QElemPtr)&gExtendedTimerRec.tmTask); | 175 RmvTime((QElemPtr)&gExtendedTimerRec.tmTask); |
174 } | 176 } |
177 | |
178 #endif /* SDL_TIMER_MACOS */ |