(svn r3948) - Fix: [ 1415782 ] crash in string code with openbsd/zaurus; alignment issues (thanks Tron for the help). Backport of r3529, r3553 from trunk

This commit is contained in:
Darkvater
2006-03-18 15:12:24 +00:00
parent 8353c1260a
commit 5f2e2ef32a
5 changed files with 29 additions and 23 deletions

View File

@@ -193,7 +193,7 @@ static const uint16 * const _legend_table[] = {
_legend_industries_candy,
};
#if defined(TTD_ALIGNMENT_4)
#if defined(OTTD_ALIGNMENT)
static inline void WRITE_PIXELS(Pixel* d, uint32 val)
{
# if defined(TTD_BIG_ENDIAN)