nuclear@0: nuclear@0: // =============================================================================== nuclear@0: // May be included multiple times - resets structure packing to the defaults nuclear@0: // for all supported compilers. Reverts the changes made by #include nuclear@0: // nuclear@0: // Currently this works on the following compilers: nuclear@0: // MSVC 7,8,9 nuclear@0: // GCC nuclear@0: // BORLAND (complains about 'pack state changed but not reverted', but works) nuclear@0: // =============================================================================== nuclear@0: nuclear@0: #ifndef AI_PUSHPACK_IS_DEFINED nuclear@0: # error pushpack1.h must be included after poppack1.h nuclear@0: #endif nuclear@0: nuclear@0: // reset packing to the original value nuclear@0: #if defined(_MSC_VER) || defined(__BORLANDC__) || defined (__BCPLUSPLUS__) nuclear@0: # pragma pack( pop ) nuclear@0: #endif nuclear@0: #undef PACK_STRUCT nuclear@0: nuclear@0: #undef AI_PUSHPACK_IS_DEFINED