mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-31 10:29:10 +00:00
(svn r1411) -Fix: structure packing in the OS/2 version (eg, with the old loader).
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user