Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

Commit 719f728

Browse files
committed
Fix linking on Windows
1 parent 77ef899 commit 719f728

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/sdl/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ static void check_video_driver(const char *name)
4040
}
4141

4242

43-
int main()
43+
// required to give full function signature for linking on Windows
44+
int main([[maybe_unused]] int argc, [[maybe_unused]] char **argv)
4445
{
4546
SDL_version v;
4647
SDL_GetVersion(&v);

0 commit comments

Comments
 (0)