1 
2 // ===============================================================================
3 // May be included multiple times - resets structure packing to the defaults
4 // for all supported compilers. Reverts the changes made by #include <pushpack1.h>
5 //
6 // Currently this works on the following compilers:
7 // MSVC 7,8,9
8 // GCC
9 // BORLAND (complains about 'pack state changed but not reverted', but works)
10 // ===============================================================================
11 
12 #ifndef AI_PUSHPACK_IS_DEFINED
13 #	error pushpack1.h must be included after poppack1.h
14 #endif
15 
16 // reset packing to the original value
17 #if defined(_MSC_VER) ||  defined(__BORLANDC__) || defined (__BCPLUSPLUS__)
18 #	pragma pack( pop )
19 #endif
20 #undef PACK_STRUCT
21 
22 #undef AI_PUSHPACK_IS_DEFINED
23