Fix -Wundef warnings due to use of unguarded __IOS__

This commit is contained in:
Anonymous Maarten
2023-03-27 15:03:41 +02:00
parent 785055bedf
commit 4bf650d488
6 changed files with 8 additions and 8 deletions

View File

@@ -294,7 +294,7 @@ int main(int argc, char *argv[])
textwin = SDLTest_TextWindowCreate(0, 0, 640, 480);
#if __IOS__
#ifdef __IOS__
/* Creating the context creates the view, which we need to show keyboard */
SDL_GL_CreateContext(window);
#endif

View File

@@ -277,7 +277,7 @@ int main(int argc, char *argv[])
renderer = SDL_CreateRenderer(window, NULL, 0);
SDL_RenderPresent(renderer);
#if __IOS__
#ifdef __IOS__
/* Creating the context creates the view, which we need to show keyboard */
SDL_GL_CreateContext(window);
#endif