summaryrefslogtreecommitdiff
path: root/src/misc/str.hpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-07-14 20:30:35 +0000
committerrubidium <rubidium@openttd.org>2007-07-14 20:30:35 +0000
commitb8e302d2a08fe8775a459ff123fabd2565a50238 (patch)
treebd0cb27ac07f0dd258f625539fb0fa5233d4534f /src/misc/str.hpp
parenta2a3b7da24faf464a70bb3efcfb44d8491105117 (diff)
downloadopenttd-b8e302d2a08fe8775a459ff123fabd2565a50238.tar.xz
(svn r10562) -Fix: most of the MorphOS issues; MorphOS doesn't know about wchars, so disable all code that has to use wchars for MorphOS.
Diffstat (limited to 'src/misc/str.hpp')
-rw-r--r--src/misc/str.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/misc/str.hpp b/src/misc/str.hpp
index 22276cb9d..e1138616a 100644
--- a/src/misc/str.hpp
+++ b/src/misc/str.hpp
@@ -183,7 +183,9 @@ struct CStrT : public CBlobT<Tchar>
typedef CStrT<char , false> CStrA; ///< Case sensitive ANSI/UTF-8 string
typedef CStrT<char , true > CStrCiA; ///< Case insensitive ANSI/UTF-8 string
+#if defined(HAS_WCHAR)
typedef CStrT<wchar_t, false> CStrW; ///< Case sensitive unicode string
typedef CStrT<wchar_t, true > CStrCiW; ///< Case insensitive unicode string
+#endif /* HAS_WCHAR */
#endif /* STR_HPP */