diff options
Diffstat (limited to '')
-rw-r--r-- | private/ntos/tdi/tcpip/h/packon.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/private/ntos/tdi/tcpip/h/packon.h b/private/ntos/tdi/tcpip/h/packon.h new file mode 100644 index 000000000..f2c73cb85 --- /dev/null +++ b/private/ntos/tdi/tcpip/h/packon.h @@ -0,0 +1,35 @@ +/*++ + +Copyright (c) 1990,91 Microsoft Corporation + +Module Name: + + packon.h + +Abstract: + + This file turns packing of structures on. (That is, it disables + automatic alignment of structure fields.) An include file is needed + because various compilers do this in different ways. + + The file packoff.h is the complement to this file. + +Author: + + Chuck Lenzmeier (chuckl) 4-Mar-1990 + +Revision History: + + 15-Apr-1991 JohnRo + Created lint-able variant. +--*/ + +#if ! (defined(lint) || defined(_lint)) + +#ifndef VXD +#if i386 +#pragma warning(disable:4103) +#endif +#endif +#pragma pack(1) // x86, MS compiler; MIPS, MIPS compiler +#endif // ! (defined(lint) || defined(_lint)) |