include/begin_code.h
changeset 189 175917167aac
parent 187 94645dc9479b
child 195 3669d47b07d3
     1.1 --- a/include/begin_code.h	Sun Sep 23 17:39:30 2001 +0000
     1.2 +++ b/include/begin_code.h	Sun Sep 23 18:10:59 2001 +0000
     1.3 @@ -59,14 +59,19 @@
     1.4     packing set to an alternate value, say for loading structures from disk.
     1.5     The packing is reset to the previous value in close_code.h
     1.6   */
     1.7 -#if defined(_MSC_VER) || defined(__MWERKS__) || defined(__WATCOMC__) || defined(__BORLANDC__)
     1.8 +#if defined(_MSC_VER) || defined(__MWERKS__) || defined(__WATCOMC__) || defined(__BORLANDC__) || defined(__APPLE__)
     1.9  #ifdef _MSC_VER
    1.10  #pragma warning(disable: 4103)
    1.11  #endif
    1.12  #ifdef __BORLANDC__
    1.13  #pragma nopackwarning
    1.14  #endif
    1.15 +#if (defined(__MWERKS__) && defined(macintosh))
    1.16 +#pragma options align=mac68k4byte
    1.17 +#pragma enumsalwaysint on
    1.18 +#else
    1.19  #pragma pack(push,4)
    1.20 +#endif
    1.21  #endif /* Compiler needs structure packing set */
    1.22  
    1.23  /* Set up compiler-specific options for inlining functions */