From 7925352e4cefd3975709041efec31092ca7c81a7 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sat, 19 Nov 2011 19:13:55 -0500 Subject: [PATCH] Fix iOS build when SDL_POWER_UIKIT isn't defined. Thanks to Vittorio Giovara for the patch! --- src/video/uikit/SDL_uikitopengles.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/uikit/SDL_uikitopengles.m b/src/video/uikit/SDL_uikitopengles.m index d8ed4e4d0..85ce14d0a 100644 --- a/src/video/uikit/SDL_uikitopengles.m +++ b/src/video/uikit/SDL_uikitopengles.m @@ -79,7 +79,7 @@ int UIKit_GL_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext context) void UIKit_GL_SwapWindow(_THIS, SDL_Window * window) { -#ifdef SDL_POWER_UIKIT +#if SDL_POWER_UIKIT // Check once a frame to see if we should turn off the battery monitor. SDL_UIKit_UpdateBatteryMonitoring(); #endif