(svn r9241) [NoAI] -Revert r9181: remove the #undef _UNICODE hack noai
authorglx
Thu, 15 Mar 2007 23:42:08 +0000
branchnoai
changeset 9434 2e71647c2c1c
parent 9433 d439c1c469f4
child 9435 9dad22394553
(svn r9241) [NoAI] -Revert r9181: remove the #undef _UNICODE hack
src/ai/ai_squirrel.cpp
src/squirrel.cpp
src/squirrel_helper.hpp
--- 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 <sys/types.h>
 #include <sys/stat.h>
 
-#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>
 #include "../squirrel.hpp"
 #include "../squirrel_helper.hpp"
--- 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 <squirrel.h>
 #include <sqstdio.h>
 #include <stdarg.h>
--- 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 <squirrel.h>
 
 /**