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
commit25028759c1ae779f5ec1768a066180cd8ed5c138 (patch)
treebd0cb27ac07f0dd258f625539fb0fa5233d4534f /src/misc/blob.hpp
parent68c5bcf9601efd3f311a27d833d3242d10068ee8 (diff)
downloadopenttd-25028759c1ae779f5ec1768a066180cd8ed5c138.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;