From: Ingo Ruhnke Date: Wed, 25 Nov 2009 16:51:46 +0000 (+0000) Subject: SDL_main() is not supposed to be written by us, see: X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=207c679b30b6d36bb02ac6bad7c26df7023b5877;p=supertux.git SDL_main() is not supposed to be written by us, see: http://www.libsdl.org/faq.php?action=listentries&category=7#55 SVN-Revision: 6088 --- diff --git a/src/main.cpp b/src/main.cpp index 25aaf701c..8988652dc 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -15,11 +15,10 @@ // along with this program. If not, see . #include -#undef main #include "supertux/main.hpp" -int SDL_main(int argc, char** argv) +int main(int argc, char** argv) { return Main().main(argc, argv); }