1
0
Fork 0

Only use #pragma's in visual c

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1518
This commit is contained in:
Sjoerd van der Berg 2004-01-01 16:48:36 +00:00
parent a6dfd08d16
commit ce71f7d35a

View file

@ -146,6 +146,10 @@ void CPU_SetFlags(Bitu word,Bitu mask);
#define DESC_CODE_R_C_A 0x1e
#define DESC_CODE_R_C_NA 0x1f
#ifdef _MSC_VER
#pragma pack (1)
#endif
struct S_Descriptor {
#ifdef WORDS_BIGENDIAN
Bit32u base_0_15 :16;
@ -239,8 +243,9 @@ struct TSS_32 {
Bit32u ldt; /* The local descriptor table */
} GCC_ATTRIBUTE(packed);
#ifdef _MSC_VER
#pragma pack()
#endif
class Descriptor
{
public: