SDL_main() is not supposed to be written by us, see:
authorgrumbel <grumbel@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Wed, 25 Nov 2009 16:51:46 +0000 (16:51 +0000)
committergrumbel <grumbel@837edb03-e0f3-0310-88ca-d4d4e8b29345>
Wed, 25 Nov 2009 16:51:46 +0000 (16:51 +0000)
http://www.libsdl.org/faq.php?action=listentries&category=7#55

git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6088 837edb03-e0f3-0310-88ca-d4d4e8b29345

src/main.cpp

index 25aaf70..8988652 100644 (file)
 //  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #include <SDL.h>
-#undef main
 
 #include "supertux/main.hpp"
 
-int SDL_main(int argc, char** argv)
+int main(int argc, char** argv)
 {
   return Main().main(argc, argv);
 }