diff options
author | truelight <truelight@openttd.org> | 2005-01-07 09:28:16 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-01-07 09:28:16 +0000 |
commit | e58739c55963b22a345e3efb78e7c10d5646b383 (patch) | |
tree | 0cbd60c77553d87c959f3f0a76a7d63e1db39f99 /oldloader.c | |
parent | 8ed132a5b9d9de21eadc55ca87cf584b52673761 (diff) | |
download | openttd-e58739c55963b22a345e3efb78e7c10d5646b383.tar.xz |
(svn r1411) -Fix: structure packing in the OS/2 version (eg, with the old loader).
Diffstat (limited to 'oldloader.c')
-rw-r--r-- | oldloader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oldloader.c b/oldloader.c index 66343784f..c454dc97c 100644 --- a/oldloader.c +++ b/oldloader.c @@ -14,7 +14,7 @@ extern byte _name_array[512][32]; extern TileIndex _animated_tile_list[256]; extern uint16 _custom_sprites_base; -#if defined(_MSC_VER) +#if defined(_MSC_VER) || defined(__WATCOMC__) #pragma pack(push, 1) #endif @@ -499,7 +499,7 @@ typedef struct { } GCC_PACK OldMain; assert_compile(sizeof(OldMain) == 487801 + 256*256*2); -#if defined(_MSC_VER) +#if defined(_MSC_VER) || defined(__WATCOMC__) #pragma pack(pop) #endif |