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 1995 - 1998 Microsoft Corporation
4
 
5
Module Name:
6
 
7
    pshpack1.h
8
 
9
Abstract:
10
 
11
    This file turns 1 byte packing of structures on.  (That is, it disables
12
    automatic alignment of structure fields.)  An include file is needed
13
    because various compilers do this in different ways.  For Microsoft
14
    compatible compilers, this files uses the push option to the pack pragma
15
    so that the poppack.h include file can restore the previous packing
16
    reliably.
17
 
18
    The file poppack.h is the complement to this file.
19
 
20
--*/
21
 
22
#if ! (defined(lint) || defined(_lint) || defined(RC_INVOKED))
23
#if ( _MSC_VER >= 800 ) || defined(_PUSHPOP_SUPPORTED)
24
#pragma warning(disable:4103)
25
#if !(defined( MIDL_PASS )) || defined( __midl )
26
#pragma pack(push)
27
#endif
28
#pragma pack(1)
29
#else
30
#pragma pack(1)
31
#endif
32
#endif // ! (defined(lint) || defined(_lint) || defined(RC_INVOKED))