(svn r18557) -Fix: (most of) gcc errors when using lto caused by some structs having different definition in different object files

This commit is contained in:
smatz
2009-12-19 23:53:15 +00:00
parent 37c48a7727
commit f708b9a80a
9 changed files with 12 additions and 19 deletions

View File

@@ -13,15 +13,14 @@
#define AI_MAP_HPP
#include "ai_object.hpp"
#include "../../tile_type.h"
/**
* Class that handles all map related functions.
*/
class AIMap : public AIObject {
public:
#ifdef DEFINE_SCRIPT_FILES
static const int TILE_INVALID = (int)INVALID_TILE; //!< Invalid TileIndex.
#endif /* DEFINE_SCRIPT_FILES */
#ifdef DOXYGEN_SKIP
const static TileIndex TILE_INVALID; //!< Invalid TileIndex.
#endif /* DOXYGEN_SKIP */