Fix the Linux build.

This commit is contained in:
jean.chalard
2011-12-18 09:40:35 +00:00
parent 7264d6f0e2
commit d93fdb2d4a
3 changed files with 8 additions and 10 deletions

View File

@@ -12,6 +12,13 @@ using std::vector;
class PlayGuiObject;
class DuelLayers;
// The X lib annoyingly defines True to be 1, leading to
// hard to understand syntax errors. Not using it, so it's
// safe to undefine it.
#ifdef True
#undef True
#endif
template<typename T>
struct LimitorFunctor
{