PACKOFF.H
Upload User: he75757
Upload Date: 2007-01-04
Package Size: 36k
Code Size: 1k
Category:

TCP/IP Stack

Development Platform:

Visual C++

  1. /*++
  2. Copyright (c) 1990,91  Microsoft Corporation
  3. Module Name:
  4.     packoff.h
  5. Abstract:
  6.     This file turns packing of structures off.  (That is, it enables
  7.     automatic alignment of structure fields.)  An include file is needed
  8.     because various compilers do this in different ways.
  9.     packoff.h is the complement to packon.h.  An inclusion of packoff.h
  10.     MUST ALWAYS be preceded by an inclusion of packon.h, in one-to-one
  11.     correspondence.
  12. Author:
  13.     Chuck Lenzmeier (chuckl) 4-Mar-1990
  14. Revision History:
  15.     15-Apr-1991 JohnRo
  16.         Created lint-able variant.
  17. --*/
  18. #if ! (defined(lint) || defined(_lint))
  19. #ifndef VXD
  20. #if i386
  21. #pragma warning(disable:4103)
  22. #endif
  23. #endif
  24. #pragma pack()                  // x86, MS compiler; MIPS, MIPS compiler
  25. #endif // ! (defined(lint) || defined(_lint))