From 5d9ca5d1a7e03108745989bc7340a8dbb64cc6fa Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Fri, 7 Dec 2007 12:41:53 +0000 Subject: 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 --- tools/create_igortbl/create_igortbl.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) 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 #include -- cgit v1.2.3