summaryrefslogtreecommitdiff
path: root/src/misc/blob.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/blob.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/blob.hpp')
-rw-r--r--src/misc/blob.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/misc/blob.hpp b/src/misc/blob.hpp
index 86d924daf..78cac0f72 100644
--- a/src/misc/blob.hpp
+++ b/src/misc/blob.hpp
@@ -59,7 +59,9 @@ protected:
/** type used as class member */
union {
bitem_t *m_pData; ///< ptr to the first byte of data
+#if defined(HAS_WCHAR)
wchar_t *m_pwData; ///< ptr to the first byte of data
+#endif /* HAS_WCHAR */
CHdr *m_pHdr_1; ///< ptr just after the CHdr holding m_size and m_max_size
} ptr_u;