From ee6eed20a291e893fbbfb7d7c47180c2a506d635 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Mon, 7 May 2012 01:37:43 +0000 Subject: [PATCH] - fixed the build on windows --- mk/windoze/glest_game.vcproj | 8 ++++++++ mk/windoze/glest_game.vcxproj | 2 ++ source/glest_game/ai/IntrHashSet.hpp | 3 +++ source/glest_game/ai/IntrHeapHash.hpp | 3 +++ 4 files changed, 16 insertions(+) diff --git a/mk/windoze/glest_game.vcproj b/mk/windoze/glest_game.vcproj index 6665a8e2..c23beefe 100644 --- a/mk/windoze/glest_game.vcproj +++ b/mk/windoze/glest_game.vcproj @@ -406,6 +406,14 @@ RelativePath="..\..\source\glest_game\ai\influence_map.h" > + + + + diff --git a/mk/windoze/glest_game.vcxproj b/mk/windoze/glest_game.vcxproj index 57a772d3..c8492db7 100644 --- a/mk/windoze/glest_game.vcxproj +++ b/mk/windoze/glest_game.vcxproj @@ -272,6 +272,8 @@ + + diff --git a/source/glest_game/ai/IntrHashSet.hpp b/source/glest_game/ai/IntrHashSet.hpp index ae1b5384..6996ad59 100644 --- a/source/glest_game/ai/IntrHashSet.hpp +++ b/source/glest_game/ai/IntrHashSet.hpp @@ -12,7 +12,10 @@ #ifndef __INTRUSIVE_HASH_SET_HPP__ #define __INTRUSIVE_HASH_SET_HPP__ +#ifndef WIN32 #include +#endif + #include /* diff --git a/source/glest_game/ai/IntrHeapHash.hpp b/source/glest_game/ai/IntrHeapHash.hpp index f92b0fbb..549268c4 100644 --- a/source/glest_game/ai/IntrHeapHash.hpp +++ b/source/glest_game/ai/IntrHeapHash.hpp @@ -12,7 +12,10 @@ #ifndef __INTRUSIVE_HEAP_HASH_SET_HPP__ #define __INTRUSIVE_HEAP_HASH_SET_HPP__ +#ifndef WIN32 #include +#endif + #include #include "IntrHashSet.hpp"