mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
985 B
36 lines
985 B
/*++
|
|
|
|
Copyright (c) 1990,95 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
poppack.h
|
|
|
|
Abstract:
|
|
|
|
This file turns packing of structures off. (That is, it enables
|
|
automatic alignment of structure fields.) An include file is needed
|
|
because various compilers do this in different ways.
|
|
|
|
poppack.h is the complement to pshpack?.h. An inclusion of poppack.h
|
|
MUST ALWAYS be preceded by an inclusion of one of pshpack?.h, in one-to-one
|
|
correspondence.
|
|
|
|
For Microsoft compatible compilers, this file uses the pop option
|
|
to the pack pragma so that it can restore the previous saved by the
|
|
pshpack?.h include 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(pop)
|
|
#else
|
|
#pragma pack()
|
|
#endif
|
|
#else
|
|
#pragma pack()
|
|
#endif
|
|
#endif // ! (defined(lint) || defined(_lint) || defined(RC_INVOKED))
|