Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix building in ISO C23 #309

Merged
merged 1 commit into from
Feb 17, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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