riched20: Don't create a display context in InvalidateParagraphRange().
[wine/zf.git] / include / pshpack4.h
blob6fef029526f8fabe8011fb5b1350897590351569
1 /*
2 * Copyright (C) 1999 Patrik Stridvall
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #if defined(__WINE_PSHPACK_H15)
21 /* Depth > 15 */
22 # error "Alignment nesting > 15 is not supported"
24 #else
26 # if !defined(__WINE_PSHPACK_H)
27 # define __WINE_PSHPACK_H 4
28 /* Depth == 1 */
29 # elif !defined(__WINE_PSHPACK_H2)
30 # define __WINE_PSHPACK_H2 4
31 /* Depth == 2 */
32 # define __WINE_INTERNAL_POPPACK
33 # include <poppack.h>
34 # elif !defined(__WINE_PSHPACK_H3)
35 # define __WINE_PSHPACK_H3 4
36 /* Depth == 3 */
37 # define __WINE_INTERNAL_POPPACK
38 # include <poppack.h>
39 # elif !defined(__WINE_PSHPACK_H4)
40 # define __WINE_PSHPACK_H4 4
41 /* Depth == 4 */
42 # define __WINE_INTERNAL_POPPACK
43 # include <poppack.h>
44 # elif !defined(__WINE_PSHPACK_H5)
45 # define __WINE_PSHPACK_H5 4
46 /* Depth == 5 */
47 # define __WINE_INTERNAL_POPPACK
48 # include <poppack.h>
49 # elif !defined(__WINE_PSHPACK_H6)
50 # define __WINE_PSHPACK_H6 4
51 /* Depth == 6 */
52 # define __WINE_INTERNAL_POPPACK
53 # include <poppack.h>
54 # elif !defined(__WINE_PSHPACK_H7)
55 # define __WINE_PSHPACK_H7 4
56 /* Depth == 7 */
57 # define __WINE_INTERNAL_POPPACK
58 # include <poppack.h>
59 # elif !defined(__WINE_PSHPACK_H8)
60 # define __WINE_PSHPACK_H8 4
61 /* Depth == 8 */
62 # define __WINE_INTERNAL_POPPACK
63 # include <poppack.h>
64 # elif !defined(__WINE_PSHPACK_H9)
65 # define __WINE_PSHPACK_H9 4
66 /* Depth == 9 */
67 # define __WINE_INTERNAL_POPPACK
68 # include <poppack.h>
69 # elif !defined(__WINE_PSHPACK_H10)
70 # define __WINE_PSHPACK_H10 4
71 /* Depth == 10 */
72 # define __WINE_INTERNAL_POPPACK
73 # include <poppack.h>
74 # elif !defined(__WINE_PSHPACK_H11)
75 # define __WINE_PSHPACK_H11 4
76 /* Depth == 11 */
77 # define __WINE_INTERNAL_POPPACK
78 # include <poppack.h>
79 # elif !defined(__WINE_PSHPACK_H12)
80 # define __WINE_PSHPACK_H12 4
81 /* Depth == 12 */
82 # define __WINE_INTERNAL_POPPACK
83 # include <poppack.h>
84 # elif !defined(__WINE_PSHPACK_H13)
85 # define __WINE_PSHPACK_H13 4
86 /* Depth == 13 */
87 # define __WINE_INTERNAL_POPPACK
88 # include <poppack.h>
89 # elif !defined(__WINE_PSHPACK_H14)
90 # define __WINE_PSHPACK_H14 4
91 /* Depth == 14 */
92 # define __WINE_INTERNAL_POPPACK
93 # include <poppack.h>
94 # elif !defined(__WINE_PSHPACK_H15)
95 # define __WINE_PSHPACK_H15 4
96 /* Depth == 15 */
97 # define __WINE_INTERNAL_POPPACK
98 # include <poppack.h>
99 # endif
101 # if defined(_MSC_VER) && (_MSC_VER >= 800)
102 # pragma warning(disable:4103)
103 # endif
105 # pragma pack(4)
107 #endif