summaryrefslogtreecommitdiff
path: root/src/ai/ai_config.hpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-02-10 16:24:05 +0000
committerrubidium <rubidium@openttd.org>2010-02-10 16:24:05 +0000
commit21bd2722cd89995370523385c213da32c8d47100 (patch)
treee7f3bb43657b1f8a59f89899dfc582d480bedad0 /src/ai/ai_config.hpp
parent78ce2858fc2704a5aafbc0b76cdb636338122f63 (diff)
downloadopenttd-21bd2722cd89995370523385c213da32c8d47100.tar.xz
(svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel
Diffstat (limited to 'src/ai/ai_config.hpp')
-rw-r--r--src/ai/ai_config.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ai/ai_config.hpp b/src/ai/ai_config.hpp
index 3eb9d78d2..05afda9d6 100644
--- a/src/ai/ai_config.hpp
+++ b/src/ai/ai_config.hpp
@@ -11,6 +11,7 @@
#ifndef AI_CONFIG_HPP
#define AI_CONFIG_HPP
+#ifdef ENABLE_AI
#include <map>
#include "ai_info.hpp"
@@ -130,4 +131,5 @@ private:
bool is_random_ai;
};
+#endif /* ENABLE_AI */
#endif /* AI_CONFIG_HPP */