src/video/uikit/SDL_uikitappdelegate.m
changeset 6044 35448a5ea044
parent 6006 889d89332de4
child 6090 687400b595ab
--- a/src/video/uikit/SDL_uikitappdelegate.m	Mon Oct 31 03:06:32 2011 -0400
+++ b/src/video/uikit/SDL_uikitappdelegate.m	Mon Oct 31 05:56:58 2011 -0400
@@ -18,6 +18,9 @@
      misrepresented as being the original software.
   3. This notice may not be removed or altered from any source distribution.
 */
+#include "SDL_config.h"
+
+#if SDL_VIDEO_DRIVER_UIKIT
 
 #import "../SDL_sysvideo.h"
 #import "SDL_assert.h"
@@ -159,4 +162,6 @@
 
 @end
 
+#endif /* SDL_VIDEO_DRIVER_UIKIT */
+
 /* vi: set ts=4 sw=4 expandtab: */