Last change
on this file since 4612 was 1207, checked in by vboxsync, 18 years ago |
Cleaned up EOL style and uppercase names
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
883 bytes
|
Line | |
---|
1 | /*++
|
---|
2 |
|
---|
3 | Copyright (c) Microsoft Corporation. All rights reserved.
|
---|
4 |
|
---|
5 | Module Name:
|
---|
6 |
|
---|
7 | pshpack4.h
|
---|
8 |
|
---|
9 | Abstract:
|
---|
10 |
|
---|
11 | This file turns 4 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(RC_INVOKED))
|
---|
23 | #if ( _MSC_VER >= 800 && !defined(_M_I86)) || defined(_PUSHPOP_SUPPORTED)
|
---|
24 | #pragma warning(disable:4103)
|
---|
25 | #if !(defined( MIDL_PASS )) || defined( __midl )
|
---|
26 | #pragma pack(push,4)
|
---|
27 | #else
|
---|
28 | #pragma pack(4)
|
---|
29 | #endif
|
---|
30 | #else
|
---|
31 | #pragma pack(4)
|
---|
32 | #endif
|
---|
33 | #endif // ! (defined(lint) || defined(RC_INVOKED))
|
---|
34 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.