mirror of
https://github.com/yawut/SDL.git
synced 2026-09-08 00:56:24 -05:00
Make sure code is only compiled if the appropriate subsystem is enabled
This commit is contained in:
@@ -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 @@ void SDL_SYS_StopTimer(void)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
#endif /* SDL_TIMER_DUMMY || SDL_TIMERS_DISABLED */
|
||||
|
||||
Reference in New Issue
Block a user