mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
Make #pragma pack really multiplatform. Old code didn't work on
non-Win32 platforms. svn-id: r15805
This commit is contained in:
parent
504d54e8ab
commit
2fb46f1b95
@ -47,7 +47,7 @@ typedef signed char Bit8s;
|
||||
// Since sysex allows this memory to be written to in blocks of bytes,
|
||||
// we keep this packed so that we can copy data into the various
|
||||
// banks directly
|
||||
#ifdef __GNUC__
|
||||
#if defined(_MSC_VER) || defined (__MINGW32__)
|
||||
#pragma pack(push, 1)
|
||||
#else
|
||||
#pragma pack(1)
|
||||
@ -180,7 +180,7 @@ union MT32RAMFormat {
|
||||
MemBanks banks;
|
||||
} MT32EMU_ALIGN_PACKED;
|
||||
|
||||
#ifdef __GNUC__
|
||||
#if defined(_MSC_VER) || defined (__MINGW32__)
|
||||
#pragma pack(pop)
|
||||
#else
|
||||
#pragma pack()
|
||||
|
Loading…
Reference in New Issue
Block a user