(svn r9181) [NoAI] -Fix: allow compilation with MINGW and _UNICODE (squirrel has some problems with that)
--- a/src/ai/squirrel/squirrel.hpp Wed Mar 14 20:25:43 2007 +0000
+++ b/src/ai/squirrel/squirrel.hpp Wed Mar 14 22:31:59 2007 +0000
@@ -6,6 +6,12 @@
#define SQUIRREL_HPP
#include "../core/ai_controller.hpp"
+#ifdef _UNICODE
+/* Disable unicode for squirrel to allow compilation with MINGW
+ * and simplify coding for WIN32 (squirrel headers miss a lot of "string" functions)
+ */
+#undef _UNICODE
+#endif
#include <squirrel.h>
class Squirrel: public AIController {