aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2007-12-07 12:41:53 +0000
committerTravis Howell2007-12-07 12:41:53 +0000
commit5d9ca5d1a7e03108745989bc7340a8dbb64cc6fa (patch)
treed84abbdf7408effe646a9bf96b927a9e8b0c785a
parent870edd1b58ab7eb68ee7a443fd4e3d5325346f44 (diff)
downloadscummvm-rg350-5d9ca5d1a7e03108745989bc7340a8dbb64cc6fa.tar.gz
scummvm-rg350-5d9ca5d1a7e03108745989bc7340a8dbb64cc6fa.tar.bz2
scummvm-rg350-5d9ca5d1a7e03108745989bc7340a8dbb64cc6fa.zip
Added missing hack for the tools to allow building on MinGW with SDL backend. (see bug #1800764 TOOLS: MinGW tools building broken)
svn-id: r29747
-rw-r--r--tools/create_igortbl/create_igortbl.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/tools/create_igortbl/create_igortbl.c b/tools/create_igortbl/create_igortbl.c
index 060643a023..a5d31f929a 100644
--- a/tools/create_igortbl/create_igortbl.c
+++ b/tools/create_igortbl/create_igortbl.c
@@ -1,3 +1,30 @@
+/* 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>