VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/i8042prt/include/pshpack1.h@ 16684

Last change on this file since 16684 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
3Copyright (c) Microsoft Corporation. All rights reserved.
4
5Module Name:
6
7 pshpack1.h
8
9Abstract:
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(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,1)
27#else
28#pragma pack(1)
29#endif
30#else
31#pragma pack(1)
32#endif
33#endif // ! (defined(lint) || defined(RC_INVOKED))
34
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