3 * Sets structure packing to 1 byte.
8 Copyright (c) 1990,91 Microsoft Corporation
16 This file turns packing of structures on. (That is, it disables
17 automatic alignment of structure fields.) An include file is needed
18 because various compilers do this in different ways.
20 The file packoff.h is the complement to this file.
24 Chuck Lenzmeier (chuckl) 4-Mar-1990
29 Created lint-able variant.
32 Added Metaware support
38 Added Visual C/C++ support
42 #if defined(__BORLANDC__) && (__BORLANDC__ >= 0x550)
43 #pragma option push -b -a8 -pc -A- /*P_O_Push*/
46 #if !(defined(lint) || defined(_lint))
47 #if defined(_MSC_VER) && (_MSC_VER >= 800)
48 #pragma warning(disable:4103)
51 #if defined(__HIGHC__)
52 #pragma push_align_members(1);
53 #elif defined(__WATCOMC__) && (__WATCOMC__ >= 1000)
54 #pragma pack(__push,1);
55 #elif (defined(_MSC_VER) && (_MSC_VER > 800)) || \
56 (defined(__BORLANDC__) && (__BORLANDC__ >= 0x500)) || \
57 defined(__POCC__) || defined(__LCC__)
64 #if defined(__BORLANDC__) && (__BORLANDC__ >= 0x550)
65 #pragma option pop /*P_O_Pop*/