Fix iOS build when SDL_POWER_UIKIT isn't defined.

Thanks to Vittorio Giovara for the patch!
This commit is contained in:
Ryan C. Gordon
2011-11-19 19:13:55 -05:00
parent 359b89cc7e
commit 464d3855ca

View File

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