VirtualBox

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

最後變更 在這個檔案從4071是 1207,由 vboxsync 提交於 18 年 前

Cleaned up EOL style and uppercase names

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 883 位元組
 
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
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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