diff --git a/source_code/version2.2_windows/PSHPACK1.H b/source_code/version2.2_windows/PSHPACK1.H new file mode 100644 index 0000000000000000000000000000000000000000..24497f00094d12a2096200278a93cf6c5ad88c12 --- /dev/null +++ b/source_code/version2.2_windows/PSHPACK1.H @@ -0,0 +1,32 @@ +/*++ + +Copyright 1995 - 1998 Microsoft Corporation + +Module Name: + + pshpack1.h + +Abstract: + + This file turns 1 byte packing of structures on. (That is, it disables + automatic alignment of structure fields.) An include file is needed + because various compilers do this in different ways. For Microsoft + compatible compilers, this files uses the push option to the pack pragma + so that the poppack.h include file can restore the previous packing + reliably. + + The file poppack.h is the complement to this file. + +--*/ + +#if ! (defined(lint) || defined(_lint) || defined(RC_INVOKED)) +#if ( _MSC_VER >= 800 ) || defined(_PUSHPOP_SUPPORTED) +#pragma warning(disable:4103) +#if !(defined( MIDL_PASS )) || defined( __midl ) +#pragma pack(push) +#endif +#pragma pack(1) +#else +#pragma pack(1) +#endif +#endif // ! (defined(lint) || defined(_lint) || defined(RC_INVOKED))