Skip to content

Commit 06fefc0

Browse files
committed
fix build
1 parent 57e257e commit 06fefc0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sdl_main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
#include <cstdlib>
55

6-
int main()
6+
// avoid SDL_main unresolved externals
7+
int main([[maybe_unused]] int argc, [[maybe_unused]] char* argv[])
78
{
89
if (!SDL_Init(SDL_INIT_EVENTS | SDL_INIT_VIDEO))
910
{

0 commit comments

Comments
 (0)