home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
PSHPACK8.H
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
1KB
|
44 lines
/*++
Module Name:
pshpack8.h
Abstract:
This file turns 8 byte packing of structures on. (That is, it disables
automatic alignment of structure fields.) An include file is needed
because various compilers do this in different ways. For Microsoft
compatible compilers, this file uses the push option to the pack pragma
so that the poppack.h include file can restore the previous packing
reliably.
The file poppack.h is the complement to this file.
--*/
/*
* C/C++ Run Time Library - Version 8.0
*
* Copyright (c) 1994, 1997 by Borland International
* All Rights Reserved.
*
*/
#pragma nopackwarning
#if ! (defined(lint) || defined(_lint))
# ifndef RC_INVOKED
# if ( _MSC_VER >= 800 ) || (defined(__BORLANDC__) && defined(__FLAT__))
# pragma warning(disable:4103)
# if !(defined( MIDL_PASS )) || defined( __midl )
# pragma pack(push)
# endif
# pragma pack(8)
# elif defined(__BORLANDC__) && !defined(__FLAT__)
# error 8-byte packing is not supported!!
# else
# pragma pack(8)
# endif
# endif // ndef RC_INVOKED
#endif // ! (defined(lint) || defined(_lint))