SDL_main() is not supposed to be written by us, see:
authorIngo Ruhnke <grumbel@gmx.de>
Wed, 25 Nov 2009 16:51:46 +0000 (16:51 +0000)
committerIngo Ruhnke <grumbel@gmx.de>
Wed, 25 Nov 2009 16:51:46 +0000 (16:51 +0000)
http://www.libsdl.org/faq.php?action=listentries&category=7#55

SVN-Revision: 6088

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);
 }