# HG changeset patch # User glx # Date 1174002128 0 # Node ID 2e71647c2c1cca4bff8cc77d9425b6c93a2d2b50 # Parent d439c1c469f44f4bc3237cc6eb3b6ad6995b42e3 (svn r9241) [NoAI] -Revert r9181: remove the #undef _UNICODE hack diff -r d439c1c469f4 -r 2e71647c2c1c src/ai/ai_squirrel.cpp --- a/src/ai/ai_squirrel.cpp Thu Mar 15 23:13:13 2007 +0000 +++ b/src/ai/ai_squirrel.cpp Thu Mar 15 23:42:08 2007 +0000 @@ -10,12 +10,6 @@ #include #include -#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 #include "../squirrel.hpp" #include "../squirrel_helper.hpp" diff -r d439c1c469f4 -r 2e71647c2c1c src/squirrel.cpp --- a/src/squirrel.cpp Thu Mar 15 23:13:13 2007 +0000 +++ b/src/squirrel.cpp Thu Mar 15 23:42:08 2007 +0000 @@ -2,12 +2,6 @@ /** @file squirrel.cpp the implementation of the Squirrel class. It handles all Squirrel-stuff and gives a nice API back to work with. */ -#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 #include #include diff -r d439c1c469f4 -r 2e71647c2c1c src/squirrel_helper.hpp --- a/src/squirrel_helper.hpp Thu Mar 15 23:13:13 2007 +0000 +++ b/src/squirrel_helper.hpp Thu Mar 15 23:42:08 2007 +0000 @@ -5,12 +5,6 @@ #ifndef SQUIRREL_HELPER_HPP #define SQUIRREL_HELPER_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 /**