Commit edd6324c authored by Ryan C. Gordon's avatar Ryan C. Gordon

Fix iOS build when SDL_POWER_UIKIT isn't defined.

Thanks to Vittorio Giovara for the patch!
parent 402034f4
...@@ -79,7 +79,7 @@ UIKit_GL_LoadLibrary(_THIS, const char *path) ...@@ -79,7 +79,7 @@ UIKit_GL_LoadLibrary(_THIS, const char *path)
void UIKit_GL_SwapWindow(_THIS, SDL_Window * window) 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. // Check once a frame to see if we should turn off the battery monitor.
SDL_UIKit_UpdateBatteryMonitoring(); SDL_UIKit_UpdateBatteryMonitoring();
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment