VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/i8042prt/include/poppack.h@ 1207

Last change on this file since 1207 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: 983 bytes
Line 
1/*++
2
3Copyright (c) Microsoft Corporation. All rights reserved.
4
5Module Name:
6
7 poppack.h
8
9Abstract:
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(RC_INVOKED))
26#if ( _MSC_VER >= 800 && !defined(_M_I86)) || 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(RC_INVOKED))
37
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette