diff 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
line wrap: on
line diff
--- a/src/timer/macos/SDL_systimer.c	Fri Apr 14 03:56:31 2006 +0000
+++ b/src/timer/macos/SDL_systimer.c	Fri Apr 14 04:46:47 2006 +0000
@@ -21,6 +21,8 @@
 */
 #include "SDL_config.h"
 
+#ifdef SDL_TIMER_MACOS
+
 #include <Types.h>
 #include <Timer.h>
 #include <OSUtils.h>
@@ -172,3 +174,5 @@
 {
 	RmvTime((QElemPtr)&gExtendedTimerRec.tmTask);
 }
+
+#endif /* SDL_TIMER_MACOS */