mirror of
https://github.com/yawut/SDL.git
synced 2026-10-20 13:57:08 -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"
|
||||
|
||||
#ifdef SDL_TIMER_RISCOS
|
||||
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
@@ -227,3 +229,5 @@ void SDL_SYS_StopTimer(void)
|
||||
}
|
||||
|
||||
#endif /* SDL_THREADS_DISABLED */
|
||||
|
||||
#endif /* SDL_TIMER_RISCOS */
|
||||
|
||||
Reference in New Issue
Block a user