mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-09 16:48:01 +00:00
Fixing compilation of unit_types.hpp with gcc 4.3
This commit is contained in:
parent
1a77b2c338
commit
cd568bc6c3
27
src/disable_gcc_concept_checks.hpp
Normal file
27
src/disable_gcc_concept_checks.hpp
Normal 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
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user