Fixing compilation of unit_types.hpp with gcc 4.3

This commit is contained in:
Pauli Nieminen 2008-06-13 09:01:44 +00:00
parent 1a77b2c338
commit cd568bc6c3
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,27 @@
/* $Id$ */
/*
Copyright (C) 2008 by David White <dave@whitevine.net>
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2
or at your option any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY.
See the COPYING file for more details.
*/
#ifndef DISABLE_GCC_CONCEPT_CHECK_HPP_INCLUDED
#define DISABLE_GCC_CONCEPT_CHECK_HPP_INCLUDED
#ifdef _GLIBCXX_CONCEPT_CHECKS
#undef _GLIBCXX_CONCEPT_CHECKS
#endif
#ifdef _GLIBCPP_CONCEPT_CHECKS
#undef _GLIBCPP_CONCEPT_CHECKS
#endif
#endif

View File

@ -14,6 +14,7 @@
#ifndef UNIT_TYPES_H_INCLUDED
#define UNIT_TYPES_H_INCLUDED
#include "disable_gcc_concept_checks.hpp"
#include "unit_animation.hpp"
#include "config.hpp"
#include "map.hpp"