Leaked source code of windows server 2003
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.

36 lines
1018 B

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. poppack.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. poppack.h is the complement to pshpack?.h. An inclusion of poppack.h
  10. MUST ALWAYS be preceded by an inclusion of one of pshpack?.h, in one-to-one
  11. correspondence.
  12. For Microsoft compatible compilers, this file uses the pop option
  13. to the pack pragma so that it can restore the previous saved by the
  14. pshpack?.h include file.
  15. --*/
  16. #if ! (defined(lint) || defined(RC_INVOKED))
  17. #if ( _MSC_VER >= 800 && !defined(_M_I86)) || defined(_PUSHPOP_SUPPORTED)
  18. #pragma warning(disable:4103)
  19. #if !(defined( MIDL_PASS )) || defined( __midl )
  20. #pragma pack(pop)
  21. #else
  22. #pragma pack()
  23. #endif
  24. #else
  25. #pragma pack()
  26. #endif
  27. #endif // ! (defined(lint) || defined(RC_INVOKED))