Make sure code is only compiled if the appropriate subsystem is enabled

This commit is contained in:
Sam Lantinga
2006-04-14 04:46:47 +00:00
parent 3ca6badbcf
commit 4ffa1daabc
54 changed files with 173 additions and 6 deletions

View File

@@ -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 */