home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 May / VPR9705A.ISO / VPR_DATA / PROGRAM / CBTRIAL / SETUP / DATA.Z / POPPACK.H < prev    next >
C/C++ Source or Header  |  1997-02-14  |  1KB  |  44 lines

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