CVSROOT:        /cvs
Module name:    ports
Changes by:     [email protected] 2025/12/17 06:54:36

Modified files:
        games/colobot/colobot: Makefile 
Added files:
        games/colobot/colobot/patches: patch-src_app_main_cpp 

Log message:
Backport of commit 1561854b03500d39955c66971c9c98de1937d7e6

gcc15 complains that specifying linkage for main is not allowed.
> error: cannot declare ‘::main’ with a linkage
>        specification [-Wpedantic]

This commit wraps the extern block in #ifdefs that check
if the main -> SDL_main macro is in use.

OK bentley@

Reply via email to