Subversion Repositories DevTools

Rev

Rev 2877 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2877 dpurdie 1
/*++
2
 
3
Copyright 1990 - 1998 Microsoft Corporation
4
 
5
Module Name:
6
 
7
    poppack.h
8
 
9
Abstract:
10
 
11
    This file turns packing of structures off.  (That is, it enables
12
    automatic alignment of structure fields.)  An include file is needed
13
    because various compilers do this in different ways.
14
 
15
    poppack.h is the complement to pshpack?.h.  An inclusion of poppack.h
16
    MUST ALWAYS be preceded by an inclusion of one of pshpack?.h, in one-to-one
17
    correspondence.
18
 
19
    For Microsoft compatible compilers, this file uses the pop option
20
    to the pack pragma so that it can restore the previous saved by the
21
    pshpack?.h include file.
22
 
23
--*/
24
 
25
#if ! (defined(lint) || defined(_lint) || defined(RC_INVOKED))
26
#if ( _MSC_VER >= 800 ) || defined(_PUSHPOP_SUPPORTED)
27
#pragma warning(disable:4103)
28
#if !(defined( MIDL_PASS )) || defined( __midl )
29
#pragma pack(pop)
30
#else
31
#pragma pack()
32
#endif
33
#else
34
#pragma pack()
35
#endif
36
#endif // ! (defined(lint) || defined(_lint) || defined(RC_INVOKED))