summaryrefslogtreecommitdiff
path: root/src/misc/str.hpp
diff options
context:
space:
mode:
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 */