From 464d3855ca5a420577e6ac6faf39df3687d053c3 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 @@ UIKit_GL_LoadLibrary(_THIS, const char *path) 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