Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
700 B

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