home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / Compilers / digital marsC compier / dm / include / win32 / Poppack.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-08  |  1023 b   |  37 lines

  1. /*++
  2.  
  3. Copyright (c) 1990-1996  Microsoft Corporation
  4.  
  5. Module Name:
  6.  
  7.     poppack.h
  8.  
  9. Abstract:
  10.  
  11.     This file turns packing of structures off.  (That is, it enables
  12.     automatic alignment of structure fields.)  An include file is needed
  13.     because various compilers do this in different ways.
  14.  
  15.     poppack.h is the complement to pshpack?.h.  An inclusion of poppack.h
  16.     MUST ALWAYS be preceded by an inclusion of one of pshpack?.h, in one-to-one
  17.     correspondence.
  18.  
  19.     For Microsoft compatible compilers, this file uses the pop option
  20.     to the pack pragma so that it can restore the previous saved by the
  21.     pshpack?.h include file.
  22.  
  23. --*/
  24.  
  25. #if ! (defined(lint) || defined(_lint) || defined(RC_INVOKED))
  26. #if ( _MSC_VER >= 800 ) || defined(_PUSHPOP_SUPPORTED)
  27. #pragma warning(disable:4103)
  28. #if !(defined( MIDL_PASS )) || defined( __midl )
  29. #pragma pack(pop)
  30. #else
  31. #pragma pack()
  32. #endif
  33. #else
  34. #pragma pack()
  35. #endif
  36. #endif // ! (defined(lint) || defined(_lint) || defined(RC_INVOKED))
  37.