[Scummvm-cvs-logs] SF.net SVN: scummvm: [29747] scummvm/trunk/tools/create_igortbl/ create_igortbl.c

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Fri Dec 7 13:41:53 CET 2007


Revision: 29747
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29747&view=rev
Author:   Kirben
Date:     2007-12-07 04:41:53 -0800 (Fri, 07 Dec 2007)

Log Message:
-----------
Added missing hack for the tools to allow building on MinGW with SDL backend. (see bug #1800764 TOOLS: MinGW tools building broken)

Modified Paths:
--------------
    scummvm/trunk/tools/create_igortbl/create_igortbl.c

Modified: scummvm/trunk/tools/create_igortbl/create_igortbl.c
===================================================================
--- scummvm/trunk/tools/create_igortbl/create_igortbl.c	2007-12-07 12:01:44 UTC (rev 29746)
+++ scummvm/trunk/tools/create_igortbl/create_igortbl.c	2007-12-07 12:41:53 UTC (rev 29747)
@@ -1,4 +1,31 @@
+/* ScummVM Tools
+ * Copyright (C) 2007 The ScummVM project
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ * $URL$
+ * $Id$
+ *
+ */
+
+// HACK to allow building with the SDL backend on MinGW
+// see bug #1800764 "TOOLS: MinGW tools building broken"
+#ifdef main
+#undef main
+#endif // main
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list