Skip to content

Commit

Permalink
Merge pull request #309 from ppisar/c23
Browse files Browse the repository at this point in the history
Fix building in ISO C23
  • Loading branch information
dod38fr authored Feb 17, 2025
2 parents d44e893 + 2a1eb99 commit b1eee65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SDL.xs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ sdl_perl_atexit (void)
SDL_Quit();
}

void boot_SDL();
XS(boot_SDL);
void boot_SDL__OpenGL();

XS(boot_SDL_perl)
Expand All @@ -155,7 +155,7 @@ XS(boot_SDL_perl)
#endif
PL_perl_destruct_level = 2;
GET_TLS_CONTEXT
boot_SDL();
boot_SDL(aTHX_ cv);

#if defined WINDOWS || defined WIN32
SDL_RegisterApp ("SDLPerl App", 0, GetModuleHandle (NULL));
Expand Down

0 comments on commit b1eee65

Please sign in to comment.